Visit Mozilla.org

nsIMemory:heapMinimize

From MDC

« XPCOM API Reference

[edit] Summary

The heapMinimize method attempts to shrink the size of the heap.

 void heapMinimize(
   boolean aImmediate
 );

[edit] Parameters

aImmediate
[in] If true, heap minimization will occur immediately if the call was made on the main thread. If false, the flush will be scheduled to happen when the app is idle.

[edit] Remarks

A particular nsIMemory instance may choose not to implement this method.

See Also nsIMemory