[fpc-pascal]Profiling and memory leaks
Marco van de Voort
marcov at stack.nl
Sat Feb 8 21:12:00 CET 2003
> Do you know of any tools I can use to check for memory leaks on my code?
>
> I'm using FPC 1.1 snapshots under Win2k.
Compile using -gh, and check the output after termination. It will give the unitname and line
where the memory was allocated.
There are only a few gotcha's (sometimes memory allocated in the RTL startup is not released
when the memorychecker terminates. So if you have mem leaks at the "start" of the program,
ignore them)
More information about the fpc-pascal
mailing list