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 theCompactMemfunction. To purge it manually, use thePurgeMemprocedure. To do both at once, use theMaxMemfunction. To perform the same operations on the system heap zone, use theCompactMemSysfunction, thePurgeMemSysprocedure, and theMaxMemSysfunction.
- 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