Here’s a small collection of tweaks to reduce Firefox memory usage.
- Limit memory cache size: Add a new integer in the about:config page named browser.cache.memory.capacity. Set it to a lower value in KB. For example, for 100MB I use the value 102400.
- Limit maximum pages in session history: This indicates how many URLs you can traverse using the Forward or Back button in a browser session. Search the about:config page for browser.sessionhistory.max_entries and set it to a lesser value from the default 50. I use 5.
- Limit max closed tabs you can reopen: Set the value of browser.sessionstore.max_tabs_undo to something like 6 if you do not undo tab closure frequently using
- If you have Adobe flash plugin installed set it to Ask to Activate so that it is not loaded all the time.
- Disable the pdf viewer from about:config page – set pdfjs.disabled to true.
- Disable some animations (set to false) from about:config – browser.tabs.animate, browser.download.animateNotifications.
- To disable Firefox Hello, set loop.enabled to false.
- To disable auto play of flash and other type of media, set media.autoplay.enabled to false.
- Reduce memory usage when minimized: Windows only. Add a new boolean config.trim_on_minimize and set it to true.
- Enable tracking protection.
- If you see jerky scrolling, set layout.frame_rate.precise to true for precise scrolling.
- Remove AdBlock Plus and install uBlock.
- Use Local Load to load JS files from local resource than downloading every time.