The internal Delphi version of FastMM doesn’t support stack traces.
If you want to log the memory leak stack traces, you have to:
-
download the full version of the FastMM library
-
include it as the first unit in your project:
program YourProject; uses FastMM4, // <-- SysUtils, Forms, ...
-
enable the
FullDebugMode
option inFastMM4Options.inc
-
set Map file to Detailed in the linking project options (the
FastMM_FullDebugMode.dll
processes the.map
file) -
add the
FastMM_FullDebugMode.dll
in your binary (or WindowsSystem32
) directory