<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 22 Oct 2010, at 21:50, Bernd Kreuss wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">On 22.10.2010 21:23, Jonas Maebe wrote:<br><br><blockquote type="cite">It's only a cosmetic problem, there is no problem with the heap itself. It's a known bug, related to reallocmem:<span class="Apple-converted-space"> </span><a href="http://bugs.freepascal.org/view.php?id=15805">http://bugs.freepascal.org/view.php?id=15805</a><br></blockquote><br>If I understand this correctly then these are only meaningless counters<br>that come out of sync.</span></blockquote><div><br></div><div>Yes.</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Is there a way to ask the heap manager directly<br>for the "real" numbers? The heap manager must somehow be able to know<br>this or calculate this, it cannot rely on these broken counters or it<br>would eventually crash or otherwise misbehave, wouldn't it?<br></span></blockquote></div><br><div>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.</div><div><br></div><div><br></div><div>Jonas</div></body></html>