Container performing efficiency or bug?
- Temporary Containers Version:
- Firefox Version: 82.0
Actual behavior
Huge CPU and RAM spike cause Firefox freezing few mins after launch Firefox. Keep consuming all of RAM resource to 100%
Expected behavior
Launch with small CPU & RAM usage bump few seconds then CPU usage down to near 0%.
Steps to reproduce
- create around 4 thousands+ of tmp containers numbers. Due to Keep counting default setting, as long as use this addon with Automatic Mode enable the more tmp container numbers you get.
- If you have Firefox Multi-Account Containers installed, click icon you will notice all you have created tmp numbers still listed even you have closed all the tabs long long time ago.
- Install Facebook Container or Google Container or similar fork addons. After installed, you will notice huge CPU & Ram spike makes Firefox freezing. It seems like when enable Facebook Container/Google Container it start categorizing every single container you have listed in container, btw I had about 4k+ container listed at that time.
- Temporary workaround: a. Delete C:\Users\yourname\AppData\Roaming\Mozilla\Firefox\Profiles\randomnumber.default\containers.json to erase all tmp containers you have created. (reset containers to default) b. Change container number behavior in setting.
Notes
Spec CPU: Ryzen 1700 RAM: 16GB MB: X370
Might be related to #371 - could you try with sync in MAC disabled?
@stoically Thank you for your suggestion. I have Firefox Multi-Account Containers installed(if this is your refer to) and leave it without any change, so I just checked again the Firefox Account Sync option is disabled by default.
Ah, seems like I didn't read the STR correctly. So this only happens when you install Facebook Container (or a Fork)?
Also,
If you have Firefox Multi-Account Containers installed, click icon you will notice all you have created tmp numbers still listed even you have closed all the tabs long long time ago.
This only happens because of #371 - might want to double-check if you have the MAC sync enabled (it's in their Add-on preferences, not in the general Firefox preferences)
Ah, seems like I didn't read the STR correctly. So this only happens when you install Facebook Container (or a Fork)?
Yes, probably most fork from Facebook Container. (I guess) Because once installed them, they start categorizing all containers listed in MAC's Containers cause Firefox Freezing. Disable all Facebook Container and any forks from it does solved issues.
This only happens because of #371 - might want to double-check if you have the MAC sync enabled (it's in their Add-on preferences, not in the general Firefox preferences)
I've never changed it before unless it enable in previous versions by default.
I think the main issue is tmp containers not removed automatically, leave tons of tmp container numbers in MAC. Just like the picture I uploaded above. I've never enabled sync before. So I have to change Container Number behavior to reuse available numbers to reduce tmp numbers increasing in daily usage.
Disable all Facebook Container and any forks from it does solved issues.
In this case you might want to open an issue in their repository, I don't think I can do anything about it.
So I have to change Container Number behavior to reuse available numbers to reduce tmp numbers increasing in daily usage.
tmp containers are only deleted if the tab was closed (for 15minutes by default), so as long as you keep them open in a session, they won't disappear from the MAC container list as well.