Carbon


MaxMemSys

Header: MacMemory.h Carbon status: Unsupported

Purges and compacts the system heap zone.

Size MaxMemSys (
    Size *grow
);
grow

On exit, the MaxMemSys function sets this parameter to 0. Ignore this parameter.

function result

The size, in bytes, of the largest contiguous free block in the zone after the compacting and purging.0

DISCUSSION

The MaxMemSys function works like the MaxMem function does, but compacts and purges the system heap instead of the current heap.

Call the function MemError to get the result code. See “Result Codes”.

Because MaxMemSys moves and purges memory, you should not call it at interrupt time.

AVAILABILITY

Not supported in Carbon. Not available in CarbonLib, but available when InterfaceLib 7.1 or later is installed. Exported by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)