I'm not sure whether I should be asking here or on one of the FPC lists. Furthermore I'm sure I've seen this discussed previously but can't find it- my apologies.

Is there a simple function or variable which shows the amount of space currently allocated on the heap? I can't find the Lazarus/FPC equivalent of Delphi's AllocMemSize, and I'm looking for a simple metric I can place in a hint to warn of creeping leaks.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to