為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

所有回覆 (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.