How To Measure Memory Usage Per Extension?
I noticed my laptop was being slow, so I looked at the memory usage. Firefox was using a whopping 5GB of memory on Windows 11. I then looked at about:process and it reported that extensions were using 4GB. I disabled each of my extensions and it still said it was using 4GB of memory. I then uninstalled two of them and re-enabled some extensions and it dropped to 781MB. This is still to much in my opinion, and I want to know how to figure out which extension is being so wasteful. Even a technique on how to figure it out would be appreciated.
選ばれた解決策
Visit about:memory in the address bar, click the "Measure" button, click the "extension" process and look for any moz-extension://<ID> items with high memory. You can identify the extension from the ID by visiting about:debugging#/runtime/this-firefox.
この回答をすべて読む 👍 2すべての返信 (4)
選ばれた解決策
Visit about:memory in the address bar, click the "Measure" button, click the "extension" process and look for any moz-extension://<ID> items with high memory. You can identify the extension from the ID by visiting about:debugging#/runtime/this-firefox.
I just looked for the extension ID under "Other Measurements" to find the extension names. Thanks. I'll definitely use this trick next time I encounter high memory usage.
You can consider uBlock Origin as a replacement for your current Adblocker extension to see if that works better (lower memory footprint,less issues).
I already use uBlock Origin. Next time my browser uses a lot of memory, I will figure out which extensions are using so much memory. Right now, uBlock Origin uses 15MB which isn't an issue in my opinion.