[fpc-pascal]FPC Overheads
Jonas Maebe
jonas at zeus.ugent.be
Wed Apr 16 13:23:24 CEST 2003
On woensdag, apr 16, 2003, at 13:13 Europe/Brussels, James Mills wrote:
> Can anyone help me out here, as I'd like to know why the overheads are
> 48Mb ...
If you allocate memory, then then the total memory reserved for your
application increases. There is nothing FPC-specific about this and
FPC-compiled programs don't occupy 48MB of memory by default.
> Also what are some good ways of tracking down memory leaks in your
> program ?
Compile the program and its units with -ghl. When exiting, it will
print out a list of not freed memory blocks.
Jonas
More information about the fpc-pascal
mailing list