{"json_modified": "2016-03-28T07:49:38.905823", "uuid": "6e78d91e-48fe-42f9-89b2-076007b23547", "title": "nsIMemoryReporter", "url": "/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIMemoryReporter", "tags": ["NeedsContent", "XPCOM Interface Reference", "XPCOM", "Interfaces", "Interfaces:Scriptable"], "translations": [], "modified": "2015-07-08T21:24:01", "label": "nsIMemoryReporter", "localization_tags": [], "locale": "en-US", "id": 1841, "last_edit": "2014-05-28T13:56:26", "summary": "Any piece of code that wishes to allow its memory use to be monitored may create an nsIMemoryReporter
object and then register it by calling nsIMemoryReporterManager.registerReporter()
. Once that has been done, the reporter will be found by any client accessing the enumerator returned by nsIMemoryReporterManager.enumerateReporters()
. This includes the about:memory
page.", "sections": [{"id": "Attributes", "title": "Attributes"}, {"id": "Constants", "title": "Constants"}, {"id": "Memory_reporter_kind_constants", "title": "Memory reporter kind constants"}, {"id": "Unit_type_constants", "title": "Unit type constants"}, {"id": "See_also", "title": "See also"}], "slug": "Mozilla/Tech/XPCOM/Reference/Interface/nsIMemoryReporter", "review_tags": []}