Sign in Join
FPDoc Onlineexperiment

TMemoryManager record

In unit System

Record describing the current memory manager.

Declaration

pascal
TMemoryManager = record

Description

TMemoryManager describes the memory manager. For more information about the memory manager, see the programmer's reference.

Fields

NeedLockpublicDoes the memory manager require a lock.
GetmempublicFunction called when memory must be allocated on the heap.
FreemempublicFunction called when previously allocated memory can be freed again.
FreememSizepublicFunction called when previously allocated memory with a known size can be freed again.
AllocMempublicSame as getmem, but additionally clear the allocated memory (filled with 0 bytes).
ReAllocMempublicHandler called when an allocated memory block should be resized.
MemSizepublicReturn the size of a memory block.
InitThreadpublicCalled when a thread is initialized.
DoneThreadpublicCalled when a thread ends.
RelocateHeappublicRelocate the heap to a different location.
GetHeapStatuspublicHandler called when the heap status must be reported.
GetFPCHeapStatuspublicHandler to get FPC heap status information.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.