Visit Mozilla.org

nsIMemory:isLowMemory

From MDC

« XPCOM API Reference

[edit] Summary

The isLowMemory method determines if we are in a low-memory situation.

 boolean isLowMemory();

[edit] Return Values

What constitutes low-memory is platform dependent. This method can be used to trigger the "low-memory" notifications.