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