Important: The information in this document is obsolete and should not be used for new development.
TempMaxMem
To find the size of the largest contiguous block available for temporary allocation, use theTempMaxMemfunction.
FUNCTION TempMaxMem (VAR grow: Size): Size;
grow- On exit, this parameter always contains 0 after the function call because temporary memory does not come from the application's heap zone, and only that zone can grow. Ignore this parameter.
DESCRIPTION
TheTempMaxMemfunction compacts the current heap zone and returns the size of the largest contiguous block available for temporary allocation.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forTempMaxMemare
Trap macro Selector _OSDispatch $0015 SPECIAL CONSIDERATIONS
BecauseTempMaxMemcould move memory, you should not call it at interrupt time.