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.
