IMalloc::HeapMinimize method

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

Syntax


void HeapMinimize();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IMalloc is defined as 00000002-0000-0000-C000-000000000046

See also

IMalloc

 

 

Show: