FreeMemSys
To determine how much free space remains in the system heap zone, use theFreeMemSysfunction.
FUNCTION FreeMemSys: LongInt;DESCRIPTION
TheFreeMemSysfunction works much as theFreeMemfunction does, but returns the total amount of free memory in the system heap zone instead of in the current heap zone.RESULT CODES
noErr 0 No error