mozilla / memchaser

Firefox extension to chase the memory usage and garbage collector activity
https://wiki.mozilla.org/QA/Automation_Services/Projects/Addons/MemChaser
29 stars 23 forks source link

Measure (and sum up) web content's memory too #231

Open xabolcs opened 9 years ago

xabolcs commented 9 years ago

With e10 enabled, Resident usage dropped to ~600 MB from ~1300 MB in my case.

It would be nice to show the web content's (e.g. resident) size too at least as a separate measure, near the Resident label. It would be even nice to include a preference to display them as one summarized memory usage.

whimboo commented 9 years ago

Maybe we differentiate between Chrome and Content in the toolbar.

xabolcs commented 9 years ago

@amccreight, it is possible right now for an addon to check these web content's resident easily, but or it should would be easy to add something to Firefox to allow that?

Doing a memory report at every five seconds is not acceptable. ;)

amccreight commented 9 years ago

Yes, I think the residentFast field on nsIMemoryReporter doesn't do a memory report so that should be fine. I think most of those fields don't do a full report.

http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsIMemoryReporter.idl#385