Hi, Once in a while I try to clean up my tabs. First thing I do is use “merge all windows” to put all tabs into one window.
This often causes a memory clog and firefox get stuck in this state for 10-20 minutes
I have recorded one such instance.
I have tried using the “discard all tabs” addon, unfortunately, it is also getting frozen by the memory clog.
Sometimes I will just reboot my PC as that is faster.
Unfortunately, killing firefox this way, does not save the new tab order, so when I start firefox again, it will have 20+ windows open, which I again, merge all pages and then it clogs again !
So far the only solution I have found is just wait the 20 minutes.
Once the “memory clog” is passed, it runs just fine.
I would like better control over tab discard. and maybe some way of limitting bloat. For instance, I would rather keep a lower number of undiscarded youtube that as they seem to be insanely bloated.
In other cases, for most website I would like to never discard the contents.
In my ideal world, I would like the tabs to get frozen and saved to disk permanently, rather than assuming discard tabs can be reloaded. As if the websites were going to exist forever and discarding a tab is like cleaning a cache.
I tried a tab suspender, but it would replace tabs with a moz:// address that would end up breaking all my tabs when I copy & pasted them from a text file. Also tab suspender doesn’t work once firefox gets into that state. I think the internal scheduler is trying to load tabs and discarding them as fast as possible. What I need is a big “stop button” that stop it all from at least trying to load new tabs.
I think what’s happenning is when I merge all windows, many gets get woken up and, like the youtube tabs they seem to gobble up 2 to 4 gb of ram while initializing to that freezes everything.
It’s making it really hard to get to 10k 20k tabs when it really falls apart like that with not even 2k tabs.
This makes the browser experience really bogged down where most of the time is spent finishing and closing tabs instead of just getting on with the actual task.
I would really like to spend less time fiddling with my browser and it “just working”.
20k tabs? I struggle to see how someone could go through that many tabs, even over a long period of time. Your workflow is something the browser was never made to handle.
Try some popular non-Mozilla tab suspend extensions. I doubt that they all operate the same way.
20k tabs means there are other problems that need to be addressed
Yes, my computer sucks, I need 256GB ram and 128 cpu cores apparently
Although even then it still would be too weak to do something crazy like search for text, in all tabs
@interdimensionalmeme
My laptop is 15 years old, with only 8GB of RAM, but Firefox is handling >2K tabs over several windows just fine.
There must be an issue outside the browser.
@wesker
It works fine, until I run “merge all windows” then many of them appear to be waken up. You are right, maybe one of my addon is causing them to wake up unnecessarily. But I have so many, it’s hard to tell which one it might be.
@interdimensionalmeme
That seems like a reasonable theory.
I once had an add on (don’t remember which, something with videos, I think), which slowed everything down.
I found it by disabling add-ons one by one.
The thing is that, it does work fine as long as I don’t disturb too many tabs. It’s the action of agglomerating all tabs to a single window that wakes up a bunch of tabs unnecessarily Surely there’s a shortcut or something to “stop all tabs” immediately. I would even take a “discard all tabs” to flush the tab memory. It seems to be what happens after a while, but it takes more than 5 minutes to happen on its own.