Firefox takes progressively more ram the longer I use it in a session.
I've been using Firefox for years, but I usually don't open too many tabs, while browsing normally, so this problem didn't really happen too often to me.
Recently I started working on developing a website, so I reload it very frequently, and I think that's what might be causing this issue of Firefox progressively taking up more and more ram.
More details: I work while listening to music on youtube on a tab, and a few other tabs open, and the website I'm working on, which is reloaded frequently every time I save new changes, and since I've been doing this, I noticed that after a while my system slowed down to a crawl, and then by checking the task manager I found that firefox was taking most of my available ram, sometimes it takes 7 of the 8 GB of ram I have, forcing me to terminate it and restart it.
If I look at the RAM usage as soon as I start firefox and open every tab I will use (youtube, slack, the website I'm working on...) I see that the memory usage isn't that much, but it grows over time. I'm not 100% sure if it grows only when I refresh/reload a page, but that's my guess.
Could it be a memory leak caused by refreshing so many times?
כל התגובות (6)
Check into these please : https://www.ghacks.net/2016/07/22/multi-process-firefox/ https://www.ghacks.net/2016/02/15/change-how-many-processes-multi-process-firefox-uses/ and Would you go to : Options => Privacy & Security => under 'Data Collection and Use' : Did you uncheck : 'Allow Firefox to install and run studies ' or is it checked ?
To check if you are enrolled in these studies :
Type in the address bar about:studies
Any extensions that you see listed there, you can either disable or remove, just like this Safe Browsing version 4 (at the end of the experiment they will be disabled anyway).
See for further information : https://support.mozilla.org/en-US/kb/shield
Please let us know if this solved your issue or if need further assistance.
Pkshadow said
Check into these please : https://www.ghacks.net/2016/07/22/multi-process-firefox/ https://www.ghacks.net/2016/02/15/change-how-many-processes-multi-process-firefox-uses/ and Would you go to : Options => Privacy & Security => under 'Data Collection and Use' : Did you uncheck : 'Allow Firefox to install and run studies ' or is it checked ? To check if you are enrolled in these studies : Type in the address bar about:studies Any extensions that you see listed there, you can either disable or remove, just like this Safe Browsing version 4 (at the end of the experiment they will be disabled anyway). See for further information : https://support.mozilla.org/en-US/kb/shield Please let us know if this solved your issue or if need further assistance.
I'll take a look at those articles.
Both options under Data Collection and Use are uncheked.
You can try to modify multi-process settings to see if this has effect.
- set dom.ipc.processCount to 1 if it is currently set to a higher value (4)
- disable multi-process windows in Firefox
You can disable multi-process windows in Firefox by setting these prefs to false on the about:config page.
- browser.tabs.remote.autostart = false
- browser.tabs.remote.autostart.2 = false
You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.
I can't enable multi-process since I'm running obsolete add-ons,so I don't think that's the problem. Unless the problem is with the add-ons.
Can always move to the Extended Release Version if wanting to keep using those extensions that are marked Legacy . https://www.mozilla.org/en-US/firefox/organizations/
Yeah, sadly the developers of the extensions I use haven't updated them in a while, and I doubt they will, so I either need to do that, or eventually re-write the extensions myself which would be a real pain.