{"json_modified": "2016-03-28T08:13:01.258427", "uuid": "d6171cf8-d7d6-4ad1-bdec-352c913f6b0d", "title": "Choosing the right memory allocator", "url": "/en-US/docs/Mozilla/Choosing_the_right_memory_allocator", "tags": ["add-ons", "XPCOM", "Developing Mozilla", "Add-ons", "NSPR", "Plugins"], "translations": [], "modified": "2016-02-29T02:08:45", "label": "Choosing the right memory allocator", "localization_tags": [], "locale": "en-US", "id": 14029, "last_edit": "2014-05-25T12:06:49", "summary": "There are a lot of different memory allocators in the Mozilla source tree. This article looks over some of them and tries to sort out which should be used under what circumstances.", "sections": [{"id": "Allocating_memory_in_XPCOM", "title": "Allocating memory in XPCOM"}, {"id": "Allocating_strings_in_XPCOM_code", "title": "Allocating strings in XPCOM code"}, {"id": "NSPR_memory_allocators", "title": "NSPR memory allocators"}, {"id": "Special_cases", "title": null}, {"id": "Allocating_memory_within_plugins", "title": "Allocating memory within plugins"}, {"id": "JavaScript_API_memory_allocators", "title": "JavaScript API memory allocators"}, {"id": "Arena_allocators", "title": "Arena allocators"}, {"id": "PresShell_arena", "title": "PresShell arena"}, {"id": "Notes", "title": "Notes"}, {"id": "See_also", "title": "See also"}], "slug": "Mozilla/Choosing_the_right_memory_allocator", "review_tags": []}