Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How To Measure Memory Usage Per Extension?

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.

Chosen solution

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.

Read this answer in context 👍 2

All Replies (4)

more options

Chosen Solution

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.