[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

TFPCHeapStatus

Record describing the state of the default FPC heap manager.

Declaration

Source position: heaph.inc line 18

type TFPCHeapStatus = record

  MaxHeapSize: PtrUInt;

  

Maximum allowed size for the heap, in bytes

  MaxHeapUsed: PtrUInt;

  

Maximum used size for the heap, in bytes

  CurrHeapSize: PtrUInt;

  

Current heap size, in bytes

  CurrHeapUsed: PtrUInt;

  

Currently used heap size, in bytes

  CurrHeapFree: PtrUInt;

  

Currently free memory on heap, in bytes

end;

Description

TFPCHeapStatus describes the state of the FPC heap manager. This is not equivalent to the THeapStatus record defined by Delphi, which contains information not meaningful for the FPC heap manager. The heap status can be retrieved by the GetFPCHeapStatus call.

See also

GetFPCHeapStatus

  

Return FPC heap manager status information

GetHeapStatus

  

Return the memory manager heap status.

THeapStatus

  

Record describing current heap status.


Documentation generated on: May 14 2021