Important: The information in this document is obsolete and should not be used for new development.
Managing Relocatable Blocks
The Memory Manager provides routines that allow you to purge and later reallocate space for relocatable blocks and control where in their heap zone relocatable blocks are located.To free the memory taken up by a relocatable block without releasing the master pointer to the block for other uses, use the
EmptyHandle
procedure. To reallocate space for a handle that you have emptied or the Memory Manager has purged, use theReallocateHandle
procedure.To ensure that a relocatable block that you plan to lock for short or long periods of time does not cause heap fragmentation, use the
MoveHHi
and theReserveMem
procedures, respectively.
Subtopics
- EmptyHandle
- ReallocateHandle
- ReserveMem
- MoveHHi
- HLockHi