Important: The information in this document is obsolete and should not be used for new development.
Manipulating Heap Zones
The Memory Manager provides several routines for initializing and resizing heap zones.To obtain information about the current application partition, applications can call the
GetApplLimitfunction and theTopMemfunction. If your application uses the stack extensively, you might want to ensure that the stack is set to at least some minimum size, at the expense of the heap. To do so, use theSetApplLimitprocedure to change the application heap limit before you call theMaxApplZoneprocedure.To initialize a new heap zone, use the
InitZoneprocedure. The Operating System automatically initializes the application zone by calling theSetApplBaseprocedure, which subsequently calls theInitApplZoneprocedure.
Subtopics
- GetApplLimit
- SetApplLimit
- TopMem
- InitZone
- InitApplZone
- SetApplBase