Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

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

GetMemoryManager

  

Return current memory manager.

IsMemoryManagerSet

  

Is the memory manager set.


Documentation generated on: Oct 15 2026 Report a problem on this page