4 ms·
Chrome shows the memory consumption of plugin here : chrome://memory-redirect/ I don't think most users want pop-ups about technical details in browsers. Subli
by enscr 12y ago
Chrome shows the memory consumption of plugin here : chrome://memory-redirect/
I don't think most users want pop-ups about technical details in browsers. Sublime text is a different story - it's meant for tech folks.
- kevingadd 12y agoPlugin memory usage tracking is only realistically possible for Chrome where plugins run in a sandbox with a really limited API. Even then, if the plugin manages to allocate memory inside a page's sandbox (for example, by injecting some CSS or JS in there), the reporting will be wrong. The adblock plus problem is in fact one of those - it injects styles into pages in order to filter ads, which increases the memory footprint of the page. So neither Firefox nor Chrome can tell you 'adblock plus is increasing memory usage by X', because the memory usage is hidden along with everything else owned by the page, not by the addon.
- cpeterso 12y agoFirefox is adding "add-on compartments" (bug 990729) that allocate separate memory arenas for each add-on. Firefox will be able to use this information to track (most) memory usage for each add-on. https://bugzilla.mozilla.org/show_bug.cgi?id=990729 https://bugzilla.mozilla.org/show_bug.cgi?id=990729
- nnethercote 12y agoIt can already measure some parts of add-on memory usage, and you can see this by looking for "add-ons" in about:memory. Bug 990729 will improve the accuracy of the measurements.
- Spittie 12y agoThere is also this addon (https://addons.mozilla.org/en-us/firefox/addon/about-addons-memory/ https://addons.mozilla.org/en-us/firefox/addon/about-addons-...) which has a somewhat nicer interface.
- enscr 12y agoGood point, I overlooked the 'injection' part.