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
GetApplLimit
function and theTopMem
function. 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 theSetApplLimit
procedure to change the application heap limit before you call theMaxApplZone
procedure.To initialize a new heap zone, use the
InitZone
procedure. The Operating System automatically initializes the application zone by calling theSetApplBase
procedure, which subsequently calls theInitApplZone
procedure.
Subtopics
- GetApplLimit
- SetApplLimit
- TopMem
- InitZone
- InitApplZone
- SetApplBase