Skip to content

SetMemoryManager

Set a memory manager.

Declaration

Source position: heaph.inc line 55

procedure SetMemoryManager(const MemMgr: TMemoryManager);

Description

SetMemoryManager sets the current memory manager record to MemMgr.

Note that the system unit already allocates memory using the system heap manager during initialization.

For an example, see the programmer's guide.

Errors

None.

See also

Name Description
GetMemoryManager Return current memory manager.
IsMemoryManagerSet Is the memory manager set.