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


Grow-Zone Operations

You can implement a grow-zone function that the Memory Manager calls when it cannot fulfill a memory request. You should use the grow-zone function only as a last resort to free memory when all else fails. For explanations of how grow-zone functions work and an example of a memory-management scheme that uses a grow-zone function, see the discussion of low-memory conditions in the chapter "Introduction to Memory Management" in this book.

The SetGrowZone procedure specifies which function the Memory Manager should use for the current zone. The grow-zone function should call the GZSaveHnd function to receive a handle to a relocatable block that the grow-zone function must not move
or purge.


Subtopics
SetGrowZone
GZSaveHnd

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996