Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

HeapMinimize

« XPCOM API Reference

Summary

The HeapMinimize function attempts to shrink the size of the heap.

 static nsresult HeapMinimize(
   PRBool aImmediate
 );

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.

Return Values

This function return NS_OK if successful. Otherwise, it returns an error code.

Document Tags and Contributors

 Contributors to this page: Sheppy, Pmash
 Last updated by: Sheppy,