{"json_modified": "2016-03-28T08:10:01.769935", "uuid": "9186b422-f862-4286-ad5c-bd38af96cc44", "title": "nsIMemory", "url": "/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIMemory", "tags": ["memory", "XPCOM", "Interfaces", "XPCOM API Reference", "XPCOM Interface Reference", "Interfaces:Scriptable"], "translations": [], "modified": "2014-04-14T10:43:58", "label": "nsIMemory", "localization_tags": [], "locale": "en-US", "id": 10362, "last_edit": "2014-04-14T10:43:58", "summary": "nsIMemory is used to allocate and deallocate memory segments from a heap. The implementation is free to define the heap. NS_GetMemoryManager returns the global nsIMemory instance.", "sections": [{"id": "Method_overview", "title": "Method overview"}, {"id": "Methods", "title": "Methods"}, {"id": "alloc()", "title": "alloc()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "free()", "title": "free()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "heapMinimize()", "title": "heapMinimize()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "isLowMemory", "title": "isLowMemory"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "realloc()", "title": "realloc()"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Low_memory_notifications", "title": "Low memory notifications"}, {"id": "Remarks", "title": "Remarks"}, {"id": "See_also", "title": "See also"}], "slug": "Mozilla/Tech/XPCOM/Reference/Interface/nsIMemory", "review_tags": []}