Important: The information in this document is obsolete and should not be used for new development.
PurgeMemSys
You can use thePurgeMemSysprocedure to purge the system heap manually.
PROCEDURE PurgeMemSys (cbNeeded: Size);
cbNeeded- The size, in bytes, of the block for which
PurgeMemSysshould attempt
to make room.DESCRIPTION
ThePurgeMemSysprocedure works much as thePurgeMemprocedure does, but purges the system heap instead of the current heap.RESULT CODES
noErr 0 No error memFullErr -108 Not enough memory