[Performance issue] Slowness due overextensive virtual memory usage
Hello. I want to report a performance issue (slowness) caused by the overexcesive virtual memory usage by Firefox sub-processess.
State description
After runing Firefox, I observed in the htop the process of Firefox (and it's sub-processes) and compared it with the about:processes
I had discovered that main Firefox process opens many sub-processess that aren't even used (they does not appear on the mentioned above "about" page).
Additionally, in some mement, at latest one of the created sub-process start to use 28.6 GB of virtual memory, like each of the created by it sub-process. This causes quite big loose of stability of the browser and even system
All Replies (8)
Hi Mcgiwer,
Read these articles, It may help you
https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-or-cpu-resources https://support.mozilla.org/en-US/kb/quick-fixes-if-your-firefox-slows-down
Thank You
What OS? Is there a reason for the old version of Firefox? The current version is 96.0.2 or 3 depending on OS. Try downloading another copy of Firefox, run it from the folder and see if you have the same issue. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release
Are you running Wayland or X11?
Operating System: openSUSE Tumbleweed 20220126 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.2-1-default (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz Memory: 31.0 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4600
jonzn4SUSE দ্বারা পরিমিত
If you notice you have more content processes than in the past then Fission is probably enabled. Fission is about a new site isolation architecture in Firefox and you will see more Firefox processes running than before and when Fission is enabled you can no longer limit the number of content processes in Settings or via dom.ipc.processCount on the about:config page. You can check the current Fission state on the "Help -> More Troubleshooting Information" (about:support) page (search for Fission).
It is quite normal to see more Firefox processes running.
- process for the main Firefox thread (user interface)
- one or more content processes
you see more content processes when Fission is enabled - process for the compositor thread
- process for extensions
- process for WebRender when this feature is enabled
There are several toolkit.aboutProcesses prefs on the about:config page to show more info. You can find the current multi-process state on the Troubleshooting Information page (about:support).
- "Help -> Troubleshooting Information"
"Application Basics":<be>Multiprocess Windows and Fission Windows
"Remote Processes" (Web Content)
See also the about:memory and about:processes pages for more information about all processes.
@jonzn4SUSE
Operating System: based on Debian 11 GUI: Openbox + X11 Browser: Firefox 96.0.3 Kernel: latest stable RAM: 4 GB
Mcgiwer দ্বারা পরিমিত
Can we get the specs of your pc and show the load? Here is a pic of my sys load with 2 versions of Firefox open and about a total of 70+ tabs. see screenshot
Operating System: openSUSE Tumbleweed 20220126 KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel Version: 5.16.2-1-default (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz Memory: 31.0 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4600
@jonzn4SUSE please read the above message. There is the most needed information about with you ask.
More detailed hardware info, like GPU, CPU are not currently avaliable due temporary hardware issues (keyboard)
Got it. Did you perform the steps in cor-el's post about Fission?
I will able to check it ealiest wensday, when I get a new keyboard (old one has broke)