How can I quickly "unclog" firefox when it runs out of memory (with 1000/2000 tabs)
How can I quickly "unclog" firefox when it runs out of memory (with 1000/2000 tabs)
I’m sorry I don’t have an answer
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.
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.
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
I would prefer not to save and tags tabs 500 times per day. It’s easier to let them accumulate and handle them all in memory.
500 tab save and tag per day is too much labour, I would spend half my day just fiddling and sorting bookmarks !
The issue is parsing all that. There is no way you can keep that many tabs readily accessible like tabs are meant to be. Which is why these addons were born and are not official parts of Firefox. This is one of those just because you can doesn’t mean you should situations. I get they’ve adopted this workflow, but reading through this it sounds more like daily driving than actual work. Which makes this even more bizarre, you can’t read them all, they have to reload when you open them after a while (ie download again) so all points are moot. You aren’t saving the page, you are holding onto a shell that will request the page again when you wake it up. If the server went offline never to be seen again your tab will not hold the information.
With this workflow, it might be better to have a crawler dump everything into folder hierarchies that are content searchable, and then search that like google using specialized software. I dont see any other reason you could even have 1k tabs open efficiently, you aren’t searching through that, might as well google again and follow the purple links.
Yeah I think that everyone here is latching onto the workflow part of this, when I don’t think that’s the problem here at all. OP mentioned that they search these, etc. but the real problem is the merging of windows, correct? So why can’t these windows merge properly? Well it’s probably the extension sucks (because I can drag hundreds of tabs around in sidebery just fine) or that they have disabled swap mem.
I understand everyone is freaking out about the workflow, but this is the reverse of the XY problem, like what happens on SO. Everyone tells them they’re doing it wrong rather than just telling them how to do what they’re trying to do. If OP had said “I have 2gb of ram and I have 30 tabs open in different windows and I use this extension to merge them and FF freezes” no one would be batting an eye about helping them.
It’s easier to use google than the bookmarks manager, which can’t even find text inside the pages. I do often dump all those thousands of tabs into a bookmarks folder. And it has never happened that I went back into that enormous pile to fetch something that would take hours to find again. I have no use for the history either. A gigantic, alphabetic ordered list of everything I have seen in the last 7 days. Again, easier to just use google.
The one thing that is better and faster than google, is not closing those tabs that may contain the stuff I need.
Of course, it’s not really possible to search the text body of open tabs, unless you search them one by one.
But I’m going to ask for only one computing miracle at a time !
Thanks, I didn’t know that one.
I have been experiementing with a transparent proxy like squid or something like Archive Box, to create static pages on the fly and load that.
But so far I’ve not made something seamless and pleasant to use. It would have to be at least as low friction as using google.
I am going to try using Mixtral 8x7b to perform natural language search over my archives and pull tabs from the collection of all pages I have ever seen. But that’s still a long way away from being operational !
Google is giving me increasingly poor results, I am looking into deploying Searxng locally.
I really would like to operate my own local crawler and sorting algorithm.
I will check out the peARs you mentionned !
Is this your goal?
Cause I gotta say, I don’t think abusing your browser is your best bet.
I often have 100+, so I set a fixed width for tabs so I can see more and they don’t get too small. To find tabs, I use the drop down to see a scrollable list. But honestly, the biggest win is the “switch to tab” feature when typing in the URL bar.
I see about 20 at a time, and they’re usually all related to the same topic because I opened them around the same time.
When I’m done with a project, I “close tabs to the right” and it’s clean again.
Bookmarks take work, especially when my projects run for a couple weeks at a time. I rarely need to reference stuff after those weeks, so I’d constantly be adding and removing bookmarks.
But everyone’s workflow is different.
Try this addon …mozilla.org/…/tab-manager-plus-for-firefox/
It’s really great, but the default settings are unusable
set open in own tab set to vertical view set to darkmode
Here is a quick scroll through my “tab manager plus” view, zoomed out hopefully this doesn’t contain doxxing information
geez, just press Ctrl+W when you’re done with a tab, or if the tab is older than a couple hours
I don’t understand why some are so attached to tabs. Search your history if you need it again.
I tried closing tabs, I have to finish reading them, make sure I got everything and that whatever reason I had for opening that tab was done. The result is that I spend all most all my time trying to close and sort and order tabs instead of doing what I was trying to do in the first place. And then the browser freezes for 10 minutes.
Something is very wrong that 64GB is nowhere near enough to handle a few megabytes of text. And searching text inside of all tabs is an unthinkably difficult operation ?
Where did the web go wrong !?
I would put the full text, image and video of every tab I have ever opened into the context memory of an open source LLM if I could. I would only consciously delete stuff that needs to stop existing immediately, like doxxing data or illegal data or malicious code.
This is like asking, how many email should you keep.
Well at work we auto delete all emails after 60 days.
But my personal email has every email going back to 2006, the last storage failure before backup, and it’s all quickly searchable.
The other limit would be storage space, but my cluster has still 180 terabyte empty space, I don’t see that getting filled up from plain browser data any time soon.
Of course, I would like better automated data catalogging tools. I would like to ask my local open source LLM to “pull up all tabs regarding 7 megahertz maser project” and it should should open a browser window that contains every tab I have ever come accross on that topic. Including now-dead websites. It should all be sorted by date, it should know to put the more basic tabs to the left and the cutting edge stuff on the right. All this without me tagging a single thing, without wasting a minute of my time doing sorting busywork.
It is the job of the computer to organize my data, in an offline, private, reliable, open source-based, enshittification-proof manner with infinite memory and perfect recall. So that I can get on with doing the stuff that I want to do and not fiddle with browser settings.
Mozilla foundation has revenues in the 500 million range and a 7 million a year CEO, I expect nothing less.
I applaud their initiative with llamafile, however I hope that was just an appetizer.
That’s fair, maybe you’re using the wrong tool though, something like an internet archive sounds more like what you need.
Take every tab you open and save a PDF, all the text, and all the images, then put a timestamp on them before deleting the tab. That’s not the point of a browser though, that’s an entirely different product.
You’re welcome to build it though, or ask Microsoft if they can make Recall work for tabs.
I was going to also say that OP might be wanting something like Recall (which might be one of the few instances where it constantly saving shit would be perfect). But they would need like the most extreme version that isn’t just saving searchable screenshots.
I also think that one major issue for OP is more about how the actual sites are coded these days. As even if a single tab is being used, the shit can just decide to force it to update the contents at any time (like how just having Gmail open you will see new messages just show up even without refreshing your browser).
It seems like the perfect situation for OP would be if the web still worked like it did pre-web 2.0, but with using the current version of FF. Outside of that, it really seems like they need to just start having sites be auto-completely downloaded for full offline use.
I am still shocked that the main issues being had seems to be that it taking 10s of mins to allow FF to process that much stuff is the frustration. Which does seem to mean FF is holding up pretty well given the situation. Their complaint about tab isolation being too much overhead seems odd though. As it would seem that going back to not having that would mean a much higher chance of just everything just being yeet-ed out of nowhere.
I am not sure how their headspace of using virtual machines approach would be much better as shit would still have the issues of sites still self-updating and loading up in the first place. Though given they seem to have dramatically more coding experience, I am much more ignorant of this shit.
yeah mate - you need a knowledge management software, not a browser.
tabs were always ephemeral and that’s unlikely to change because they’re much more than text and images.
that’s simply an unreasonable expectation for a browser.
I’m honestly surprised Firefox even handles more than a few hundred open tabs.
Then you will have software that doesn’t work. This is not a Firefox problem, or a problem of extensions, or anything but a user problem.
If your 1998 Toyota Camry is struggling to haul a cargo container up a hill it’s not the car’s fault. You’re doing it wrong. Whatever tasks you’re trying to do with 1000 tabs a web browser is the wrong tool for the task.