On 22 Oct 2010, at 21:50, Bernd Kreuss wrote:
> 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.
Yes.
> 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?
The heap manager does not depend on any counters, so there are no real numbers
to request. Those (meaningless) counters are the only ones that exist.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal