[fpc-pascal] Strange error
Hans MÃ¥rtensson
cirkulation at maartensson.net
Mon Jun 8 21:05:49 CEST 2009
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.
More information about the fpc-pascal
mailing list