We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE


« XPCOM API Reference


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

 static nsresult HeapMinimize(
   PRBool 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

 Last updated by: Anonymous,