搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

How To Measure Memory Usage Per Extension?

  • 4 回覆
  • 0 有這個問題
  • 49 次檢視
  • 最近回覆由 Elijah Lopez

more options

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.

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.

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

選擇的解決方法

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.

有幫助嗎?

more options

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.

有幫助嗎?

more options

You can consider uBlock Origin as a replacement for your current Adblocker extension to see if that works better (lower memory footprint,less issues).

有幫助嗎?

more options

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.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題