WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/xpcom/memory-service;1

This component implements the following interfaces:

Methods

InterfaceMethod
nsIMemory [noscript][notxpcom] voidPtr* alloc ( size_t size )
nsIMemory [noscript][notxpcom] void free ( voidPtr* ptr )
nsIMemory void heapMinimize ( PRBool immediate )
nsIMemory PRBool isLowMemory ( )
nsIMemory [noscript][notxpcom] voidPtr* realloc ( voidPtr* ptr , size_t newSize )

Reference documentation is generated from Mozilla's source.