Vincent Snijders wrote:

Hans Mårtensson schreef:

When compiling a windows program with FPC version 2.2.4 with the switch -dDEBUG (using the default configuration), after running the program I get the following message:

-----------------------------
Error
Heap dump by heaptrc unit
0 memory blocks allocated: 0/0
0 memory blocks freed: 0/0
0 unfreed memory blocks: 0
True heap size: 65536 (80 used in System startup)
True free heap: 65456
-------------------------------


-dDebug includes -gh, the heaptrc heapmanager. It prints these statistics. If you use a custom heapmanager, then the heaptrc heap manager is not used, so no statistics are gathered.
Vincent

All right, but with former versions of FPC there was no message if all memory was freed. And because the message is marked "error", I thought that it might indicate some problem.
/Hans M.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to