How can I quickly "unclog" firefox when it runs out of memory (with 1000/2000 tabs)
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 came in here knowing exactly what the comments would look like, and I'm still disappointed. "Just don't use so many tabs" is not an answer. If you don't have anything constructive to say, just move on instead of getting uppity about...not using browsers very heavily or understanding other use cases.
Yeah, thousands of tabs seems extreme. But "you should dedicate a larger amount of time and effort all day, every day to make the computer's job easier" is a bad take. That's obviously worse than OP's existing workflow.
Sorry OP, I don't have a real answer either. You might find Arc Browser's tab system to suit you better, but since it's chromium-based I suspect performance might be worse.
Edit: out of curiosity, how much memory does your PC have, and how much is Firefox using during these freezes? I wonder how much of the delay is caused by swapping.
Yes it is. If somone is holding a knife upside down and complaining it doesn't cut their steak, are you rude and ignore them? or comment that they're doing it wrong? OP has the knife upside down.
FF (or any browser AFAIK) is not designed to do this , OP is doing it wrong is a valid answer.
On the flip side OP wants FF to change so it can do what they want, which is also valid. After all, a sensible person adapts to the environment around them, an insane person expects the environment to adapt to them, therefore all progess is made by insane people. Have at it OP :)
It is worse than OP's existing workflow, even though the existing workflow sucks. "Do this thing that sucks even more" is not an answer. "I don't have this problem, so you must be mentally ill" is also not an answer.
an insane person expects the environment to adapt to them, therefore all progess is made by insane people
FF was designed to do this. There have been hundreds of bug reports that have been fixed over the years to literally make FF handle thousands of tabs just fine. If instead you had operated under the assumption that something was wrong you literally could help OP resolve the issue which is most likely something like their swap mem or the extension itself being written badly.
I think it’s crazy to need more than 10 active tabs open, let along thousands. I’m a software developer who will regularly go down rabbit holes and I’d never dream of opening so many tabs.
The fact is OP isn’t using the browser in a way that it was designed for. Plus they’re being unreceptive and rude in some of their replies.
Ff literally was designed for this. It has had a significant number of bug reports over the years that improved this exact thing, opening thousands of tabs. That’s not the problem (I also have thousands of tabs open). If instead you had operated under the assumption that that wasn’t the problem maybe you could have helped OP find the actual problem, which I bet is probably that they disabled swap mem or the extension they’re using isn’t written well.
I have to ask, how does one even manage thousands of open tabs?
Like how do you find the 1 in 1756 tabs that you are looking for?
Excuse me for thinking that that is an insane way to work and there is no way it can be productive. Like if you have a thousand open at any given moment, what are they all. What are you doing that warrants this? What’s wrong with bookmarks.
I think the consensus here has been clear in that you guys are in the minority of people. And that’s on Lemmy where we skew tech literate and would mostly be power users. I just can’t see how it can be productive.
Not calling you out here. Like I really need to know your workflow with some examples of the why?
You have different windows, different Multi-account containers. And if you type in something into your address bar it will just automatically jump to an open tab if you already have it open. No need to perform another search and find it. It's not hard to maintain this many tabs. Just like it's not hard to know where stuff is in your house. You keep the tools and cars in the garage, the yard equipment in the shed etc. You have thousands of items in your house or apartment, you don't have trouble keeping those separated do you? Unless you're one of those people that just tosses stuff as soon as they don't need it anymore, but I don't think that's the majority of people, at least not from talking to my therapist it isn't.
And it's not about being productive. Like, if I have one window open it might be for the research for a thing I want to buy, for example we're thinking about getting starlink for camping. So I have a window open with like 50 fucking tabs because choosing a powersupply, figuring out the calculations for how much wattage I'm going to be using, etc. I need all those open. I mean I could move that into an obsidian doc, but that's a hell of a lot of stuff to write down for something I only need to research and buy once. And then it gets left open because I already did the research and it's much easier to find if I have to step away to do something else, or I put off the research for a week since we're not camping yet.
The same goes for work stuff. We're testing stuff in salesforce and I have 10 tabs open for every test because you have to verify every single field of data I'm pushing from the backend into salesforce.
But it's not like I'm even noticing the 950+ tabs that are open. I don't have that window open. I use sidebery so I can see all the tabs in my window with their full names at a glance (here's an example of the current window where I've been responding to lemmy comments.
And a lot of the times I open an article to read, then someone messages me to help them, I jump over to help them, and then I come back to the article in a week. Or two weeks. Or three months. And then after I'm finished with it I close it. But I'm not gonna bookmark that. Bookmarks are for stuff you keep coming back to. Managing bookmarks in a browser isn't like managing a bookmark in a book you're reading. Deleting them is harder, filing them is harder, etc.
Yeah, thousands of tabs seems extreme. But "you should dedicate a larger amount of time and effort all day, every day to make the computer's job easier" is a bad take.
Computers don't magically make things easier, it just does as it is told(as instructed by code). Computers don't come out as a self-made human assistant that adapts to your personal needs and can magically do anything you want.
If it's so much of a burden that smarter people haven't figured it out, go at it. You might just fix it.
But "to make computer's job easier" is the dumbest shit I've heard in a while.
How could one manage to open more than 100 tabs is beyond me. Just close the browser. This is insanity. I don't know how you keep track of all those pages.
I am going to keep beating that drum until firefox gets better
It's already improving, I used to struggle at 700 tabs now I almost make it to 2000.
Of course it is mostly artifice as most tabs get fully discarded and what I want is all tab texts in live memory and the ability to search all tab text.
Maybe even text search in all pictures in all tabs using object recognition, but clearly we're not anywhere near that yet !