Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Memory /
Chapter 2 - Memory Manager / Memory Manager Reference
Memory Manager Routines / Freeing Memory


CompactMemSys

You can use the CompactMemSys function to compact the system heap zone manually.

FUNCTION CompactMemSys (cbNeeded: Size): Size;
cbNeeded
The size in bytes of the block for which CompactMemSys should attempt to make room.
DESCRIPTION
The CompactMemSys function works much as the CompactMem function does, but compacts the system heap instead of the current heap.

RESULT CODES
noErr0No error

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996