Firefox is a great memory but if you use it with more than a couple of tabs open, you’ll quickly realize that your computer gets bogged down due to its high memory usage.
But there are some simple tweaks you can make to Firefox settings to reduce memory usage.
Reduce Session History Content Viewers
- In the URL address bar in Firefox, where you would enter the website you want to visit, enter “about: config” — without the quotes.
- Use CTRL-F to search for “browser. sessionhistory. max_total_viewers“
- You’ll notice the default value is -1, you want to change this to 5 or an even lower number if you can live with it.
What this does: This variable instructs Firefox how many content viewers to keep in memory while browsing. This makes your “back” and “forward” browsing much quicker but this can quickly add up with the amount of tabs you have open. Cutting this number down, clears up a lot of memory. If you hit “back” and “forward”, it simply reloads the page instead of keeping that in memory.
Reduce Session History Maximum Entries
This does something much similar to the above but is a slightly different aspect to it. Follow step 1 above, in Step 2, search for browser.sessionhistory.max_entries and change the default value of 50 to 5. This reduces the number of last pages browsed that Firefox is keeping in memory as you use it. You will not notice much difference in browsing except that Firefox will reduce the amount of memory it’s using.
Check Firefox memory usage at any time
Firefox has a handy page to track its memory usage. Enter “about:cache?device=memory” in the address bar and you’ll see a neatly presented chart of the RAM in use.
Implement these tips and you’ll notice you can dramatically reduce memory usage in Firefox with the tweaks.