[fpc-pascal] negative numbers in CurrHeapUsed and MaxHeapUsed

Bernd Kreuss prof7bit at googlemail.com
Fri Oct 22 21:50:42 CEST 2010


On 22.10.2010 21:23, Jonas Maebe wrote:

> It's only a cosmetic problem, there is no problem with the heap itself. It's a known bug, related to reallocmem: http://bugs.freepascal.org/view.php?id=15805

If I understand this correctly then these are only meaningless counters
that come out of sync. Is there a way to ask the heap manager directly
for the "real" numbers? The heap manager must somehow be able to know
this or calculate this, it cannot rely on these broken counters or it
would eventually crash or otherwise misbehave, wouldn't it?

Bernd



More information about the fpc-pascal mailing list