Important: The information in this document is obsolete and should not be used for new development.
MaxMemSys
You can use theMaxMemSys
function to purge and compact the system heap zone manually.
FUNCTION MaxMemSys (VAR grow: Size): Size;
grow
- On exit, the MaxMemSys function sets this parameter to 0. Ignore this parameter.
DESCRIPTION
TheMaxMemSys
function works much as theMaxMem
function does, but compacts and purges the system heap instead of the current heap. It returns the size, in bytes, of the largest block you can allocate in the system heap.RESULT CODES
noErr 0 No error