Minimizes the heap as much as possible by releasing unused memory to the operating system, coalescing adjacent free blocks and committing free pages.

  • oid HeapMinimize();


Calling IMalloc::HeapMinimize is useful when an application has been running for some time and the heap may be fragmented.

See Also

IMalloc::Alloc, IMalloc::Free, IMalloc::Realloc

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
Unix Manual Pages
Delphi Examples