Important: The information in this document is obsolete and should not be used for new development.
Freeing Memory
The Memory Manager compacts and purges the heap whenever necessary to satisfy requests for memory. You can also compact or purge the heap manually. To compact the current heap zone manually, use theCompactMem
function. To purge it manually, use thePurgeMem
procedure. To do both at once, use theMaxMem
function. To perform the same operations on the system heap zone, use theCompactMemSys
function, thePurgeMemSys
procedure, and theMaxMemSys
function.
- Note
- Most applications don't need to call the routines described in this section. Normally you should let the Memory Manager compact or purge your application heap.
Subtopics
- CompactMem
- CompactMemSys
- PurgeMem
- PurgeMemSys
- MaxMem
- MaxMemSys