This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Containers - how can I set the maximum size of each? (Firefox CP Content) to solve sluggish performance

more options

Very sluggish performance, scrolling or changing tabs etc. There are 7 "Firefox CP Content" processes running, each about 800 MB but I've seen them go to maybe 1.3 GB. I'm thinking that swapping that much memory takes a long time, so maybe if I force them to be no mor then 500 MB It might help.

Can't find a Preference for "cache size" anymore - why not Content Process Limit is maxed out at 7.

Very sluggish performance, scrolling or changing tabs etc. There are 7 "Firefox CP Content" processes running, each about 800 MB but I've seen them go to maybe 1.3 GB. I'm thinking that swapping that much memory takes a long time, so maybe if I force them to be no mor then 500 MB It might help. Can't find a Preference for "cache size" anymore - why not Content Process Limit is maxed out at 7.

All Replies (8)

more options

I am not aware of how Containers interact with content processes.

Generally speaking, Firefox will open different tabs in different content processes, and the memory use by any given tab may or may not be a factor in which process is used for the next tab.

What do you mean by this:

FireFoxSucks said

I'm thinking that swapping that much memory takes a long time, so maybe if I force them to be no mor then 500 MB It might help.

Swapping??

more options

My computer doesn't have enough RAM to keep everything I have running in RAM. So I presume Firefox has a logical method of "containerizing" and when I open a tab it closes the last container & opens the one containing the new tab. So smaller is faster. There is 2.77 GB cached at the moment. A large fraction of each Web Process is "compressed."

Firefox ought to manage memory use by having all tabs in a Window within the same Container.

Also I would like to turn off background tabs ability to send & receive data, to reduce the thruput load on my connection. I have huge BufferBloat problems.

more options

image here:xxxxxxx

more options

Swapping, in the sense of using hard drive space to extend memory, is managed by your OS.

Firefox has internal features to unload low priority tabs to spare memory, but this is not implemented by default (there were some problems when it was enabled automatically so it was turned off again) -- you would need to use an extension to pause/suspend/unload an open tab.

Firefox has internal features to reduce bandwidth usage by background tabs, but when this was enabled by default, users complained that music players and videos in side windows stopped, so it is no longer enabled by default. For example, from the Firefox 61 time frame: https://support.mozilla.org/questions/1228604

more options

You can possibly reduce number on content processes via the Options/Preferences page.

more options

jscher2000 said

-- you would need to use an extension to pause/suspend/unload an open tab. Firefox has internal features to reduce bandwidth usage by background tabs, but when this was enabled by default, users complained that music players and videos in side windows stopped, so it is no longer enabled by default. For example, from the Firefox 61 time frame: https://support.mozilla.org/questions/1228604

Got any addon names in mind? there used to be one that told me which tabs were using the most runtime. Stopped working after containers I guess. How would I enable this internal feature? to throttle, set to 1? or True for the other?

more options

cor-el said

You can possibly reduce number on content processes via the Options/Preferences page.

Why would I want fewer? Seems to me that more allows the computer to stop the ones not being actively used ?

more options

FireFoxSucks said

jscher2000 said
-- you would need to use an extension to pause/suspend/unload an open tab.

Got any addon names in mind?

No, I've read about a couple but have no idea which ones are actually good.