Firefox memory leak – How to
Sometimes Firefox uses a huge quantity of memory up to 500MB. How to configure firefox in order to use less memory?
Follow these simple steps and you firefox will reduce the memory usage:
-
Type about:config in address bar.
-
Right click and add a new integer value browser.cache.memory.capacity (Controls how much memory is used to cache pages) and set it to the 80% of the default value.
-
Set the value browser.cache.disk.capacity (Controls how much disk space is used to cache pages in kilobytes) and set it to between 5000 or 15000.
-
Right click and add a new boolean value config.trim_on_minimize (Firefox swaps memory to disk when minimized) and set it to true.
-
Set the value network.prefetch-next (download all pages with the rel=”prefetch” tag) and set it to false.
-
Set the value browser.sessionhistory.max_total_viewers (how many pages of history are kept in the back/forward buttons) and set it to a low number for example 5.
NOTE: Modifies on Firefox’s default configuration may cause some errors, apply this hacks on your own responsibility.
No related posts.

