Reducing Firefox Memory Usage

I was experiencing poor performance while working on a system running Microsoft Windows 10. Just scrolling down a page in web pages or switching from tab to tab in Firefox 43.0.4 was very slow. When I checked the CPU and memory utilization, I saw the memory utilization was at about 50% and CPU usage was fluctuating between 30% and 40%. I closed many tabs in Firefox, which reduced the CPU usage, but the memory usage was about what it had been before at 48% with about 899 MB of memory reported as used.

Firefox Memory Utilization high

So, in one of the Firefox tabs, I typed about:memory, which displays memory-related options, one of which is to "Minimize memory usage". If you have the mouse pointer over the button for that option, you will see the following (image):

Send three "heap-minimize" notifications in a row. Each notification triggers a global garbage collection followed by a cycle collection, and causes the process to reduce memory usage in other ways, e.g., by flushing various caches.

So I clicked on that buton. I saw a "Memory minimization completed" message in the about:memory window and the Windows Task Manager showed a reduction of memory usage, which had been fairly constant at about 849 MB, fluctuating from 849.1 to 849.5, reduced to 802.3 MB.

I clicked on the "Mimimize memory usage" button again, which reduced the memory usage briefly to about 795 MB, but then it went back up, going up to about 809 MB, though it was still about 90 MB less than it had been before I first clicked on the button, though the memory usage percentage was only down slightly at 47%.

Firefox Reduced Memory Utilization

So, you may be able to reduce Firefox's memory usage somewhat when high memory usage is causing a problem in the system's performance, but it won't always be a panacea when you wish to reduce the browser's memory usage considerably.

I next clicked on the Measure button on the about:memory page. I saw that a Googe Docs page I had open was at the top of the list for "Explicit Allocations", so I used the back button on that tab to go back to a page open before that and then a page on my own site appeared at the top of "Explicit Allocations" as using about 38 MB of memory (image). Task Manager was showing the memory usage fluctating between 834 MB and 844 MB at the time, though I had closed several tabs since I had reduced memory usage by the "Miminize memory usage" option. After I closed the tab that was shown at the top of the "Explict Allocations" list the usage dropped to about 810 MB. CPU usage was down to about 3% at that time and I no longer had a performance problem. When I clicked on the Measure buton in the about:memory window again, it showed 652.77 MB, instead of the 683.80 MB figure it had previously shown (image).



oreilly.com - Your tech ebook super store

Firefox Explicit Allocations
Reduced

So, if you are seeing high memory consumption by Firefox, put about:memory in the address bar of a tab and try the "Reduce memory usage" option. If that doesn't sufficiently reduce memory, try the "Measure" option to view memory usage by Firefox. Hopefully those steps will allow you to reduce Firefox's memory consumption enough to alleviate the problem.

 

TechRabbit ad 300x250 newegg.com

Justdeals Daily Electronics Deals1x1 px

Valid HTML 4.01 Transitional

Created: January 17, 2016