this post was submitted on 17 Jun 2024
30 points (61.4% liked)

Firefox

18056 readers
142 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 

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.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 75 points 6 months ago (4 children)

Maybe don’t have a THOUSAND tabs

load more comments (4 replies)
[–] [email protected] 56 points 6 months ago (13 children)

You're not likely going to get any real help since you're insisting on using the browser in an extreme and unconventional way. Your little world is just one browser/OS crash from losing all of those tabs.

load more comments (13 replies)
[–] [email protected] 48 points 6 months ago (9 children)

The solution is to see a psychotherapist because dude is there something strange happening in your brain and it really needs fixing.

load more comments (9 replies)
[–] [email protected] 46 points 6 months ago (3 children)

I'm not going to tell you that you're managing your information wrong. I would physically die if I had ever more than 20 tabs (my ADHD couldn't handle it).

But I think you might be using the wrong tool. A browser (like Firefox) is not really designed as an information manager. It's primary purpose is navigating and visualizing web pages. So when you talk about "a few megabytes of text and images" thats not what your browser sees. Your browser handles more than just the text and images. It also handles fetching and prefetching, a browser history for every tab, a JS context and much much more.

What you want is some kind of personalized archiving system that processes websites into machine processable (ie searchable) structures. Firefox is not that. Maybe data hoarder communities will have the answers you seek.

load more comments (3 replies)
[–] [email protected] 43 points 6 months ago (10 children)

If you need quick access to this many pages I suggest organizing bookmarks. As this is what they are meant for. Tabs are meant for active pages you are working with. So anytime you get that many tabs with any browser its gonna run like shit.

load more comments (10 replies)
[–] [email protected] 30 points 6 months ago (3 children)

If you have over 1000 tabs... learn how to use bookmarks instead. I don't understand how you think 1000+ tabs is a feasible way of organizing.

load more comments (3 replies)
[–] [email protected] 29 points 6 months ago (10 children)

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.

load more comments (10 replies)
[–] [email protected] 27 points 6 months ago (3 children)

Have you tried bookmarking things instead of leaving them open as tabs?

load more comments (3 replies)
[–] [email protected] 24 points 6 months ago* (last edited 6 months ago)

Rather than try and force Firefox to deal with thousands of tabs, it’d be easier to use an add-on like SingleFile to download the tabs as self-contained HTML files. After that, you can search their contents using free tools like Agent Ransack or DocFetcher.

If you prefer to keep the data in your browser, then how about using a service like Instapaper that lets you save pages for reading/referencing later as well as search their contents?

[–] [email protected] 23 points 6 months ago (8 children)

A tab suspender extension might help some, but there's only so much you can do to minimize the impact of thousand(s) of tabs. Cleaning out old tabs more frequently is probably a better habit.

load more comments (8 replies)
[–] [email protected] 22 points 6 months ago

Why do you have so many tabs open?

[–] [email protected] 22 points 6 months ago (2 children)

I've read this entire thread like three times and watched all the videos you've posted, and I still don't understand your workflow at all.

If searching bookmarks/history is harder than using Google to just find the thing you want to get back to, why do you need to keep the things you want to get back to open rather than just using Google to find the page again later? Or when you want to get back to something you (think you?) have left open, do you find it just by scrolling through all your tabs until a title/favicon looks like what you're looking for?

Your last paragraph makes it seem like maybe you want to keep the tabs open so if the page/content gets deleted off of the server, you don't lose it. Is that correct? I'd imagine that doesn't always accomplish that, though, right? (Particularly for something like YouTube.) If that's a significant part of why you keep the tabs open, though, maybe that bit at least is a good question for a data hoarder community.

I haven't been able to find any "discard all tabs" addon for Firefox by Googling. And I can't guess what exactly it does. (Does it save tab states to disk and suspend - but also leave open - all tabs or something?) Are you sure that's the name of the addon you're using?

load more comments (2 replies)
[–] [email protected] 18 points 6 months ago (8 children)
load more comments (8 replies)
[–] [email protected] 18 points 6 months ago

I’m sorry I don’t have an answer

Elmo fire gif

[–] [email protected] 15 points 6 months ago (6 children)

I'm really curious about the workflow you have that needs that many tabs. How does the History and Bookmark functions fall short of what you need?

load more comments (6 replies)
[–] [email protected] 12 points 6 months ago

Why don't you just open less tabs? Just close the browser when you are done using it

[–] [email protected] 12 points 6 months ago* (last edited 6 months ago) (3 children)

I am not sure what you’re working on but from your answers I’ve read you seems to need access to a lot of information with a few keystrokes, like searching for a keyword or tag.

In my opinion you are using the wrong tool for that. Ditch the browser and learn about the Zettelkasten way of working. It is really powerful for plenty of applications like science, studies, dev, or even the way I use it, author repository of ideas/concepts/stuff I need when writing a book.

You can do that with several software but I like obsidian for that (and because of all its plugins you could probably find something to automatically copy webpage content)

On the downside side :

  • You’ll have to learn Zettelkasten, Obsidian etc
  • Obviously do the work of writing (or copy pasting) your vault.

But on the plus size :

  • You’ll have all the information you need at your fingertips, searchable with keywords, tags, associations etc.
  • Everything is basic text MD files so it will still be readable by any text editor or terminal in the next century.
  • You can have images, run code, do some mathlib, jupyter etc inside.
  • Text is light, easy to store, backup and retrieve.
  • If you do good enough you can have a satisfying visual representation of your new brain, kinda mindmap (which is also possible)

load more comments (3 replies)
[–] [email protected] 10 points 6 months ago* (last edited 6 months ago) (1 children)

Zotero is a citation manager, with a firefox extension to save an article (but really, a tab) with one click.

It also has fulltext search. You can search snapshots of everything you save.

"But I can't save all my tabs at once"

(There are some solutions, but nothIng official)

Save as you go. Computers simply don't have enough ram for 2000 tabs.

Anyway, it also seems to be able to run javascript plugins, and I saw you have some experience with that.

It also has support for folders, so you can organize it a bit better than tabs work for that.

load more comments (1 replies)
[–] [email protected] 10 points 6 months ago (1 children)

I have no direct solution to you exact problem but your usage of tabs sounds like a nightmare.

A while back I found Omnivore which works like a charm if you want to "freeze" the contents of a website to read them later. You can also self host it if you like.

I took it a step further because I love Obsidian as personal knowledge management and I want to have everything in one place. There's a plugin to sync all your saved pages from Omnivore to Obsidian. In the template for it I then have my marked highlights, the links to the version in Omnivore and the original URL and also the whole content. So I have all of that in markdown which is really nice to work with.

Maybe that's a solution you too could be happy with.

load more comments (1 replies)
[–] [email protected] 9 points 6 months ago

Reduce to a sane number. Like less than 20.

[–] [email protected] 9 points 6 months ago

From a practical standpoint, it's hard to imagine what you could possibly be doing where it's beneficial to have a thousand tabs open.

If I'm writing a research paper, I might want 5 or 10 tabs open at a given time. Let's say I'm a little chaotic so I get up to 20. And then limitations on my working memory kick in, and having any more open tabs actually makes me worse off.

But then let's suppose it's a thesis that's 50 pages long. So I might be relying on 40 or 50 references. I'm not relying on them all at the same time, right? So I definitely don't want to keep those tabs open all at the same time.

What I could do, and what you could consider, is either bookmarking things or using archive.org to make a backup of the pages.

In one of the other comments you mentioned Facebook. That has me a little concerned again with your objectives. If it's something private on Facebook that can't be recovered later, and you need something reliable, then you have no choice but to do long screenshots or scrolling videos. If it's not reliable, then why do you care so much to keep the window open? Just close the window, remember whatever you remember, and move on with your life.

Whatever you do, here's a few rules of thumb... Your web browser is not an archiving tool. Printing to PDF is one way to archive things. There are other ways to archive things too. You don't actually need to archive as much as you might think you need to archive. Most of the things that we think might be important now actually won't be useful at all three months from now. Rarely would one actually want to have a thousand sources of information for any given task.

[–] [email protected] 8 points 6 months ago (2 children)

I terminate Firefox and reopen it any time it's chewing up my RAM, but I usually don't have more than 500 tabs open at any one time. My tabs persist when Firefox starts again, but tabs don't fully load until I click on them again. This saves my memory from getting chewed up immediately, and can usually go a week or so before I need to do it again.

[–] FigMcLargeHuge 12 points 6 months ago (11 children)

What? Even 500 tabs? I don't understand this. I get about 10 open and I can't read what they are. Please share a pic of what it has to look like with that many tabs open because I totally do not get this? I feel like this would be akin to asking "I can't see out of my car windshield because I have completely covered it with sticky notes. How can I get to where I need to go?" This is not how browsers were designed to work.

load more comments (11 replies)
load more comments (1 replies)
[–] [email protected] 8 points 6 months ago (6 children)

You have 64GB RAM and that's still not enough for your browser. Wow.

I've come away from this with only more questions. What does your Downloads folder/Filesystem look like? Do you have notebooks or any real world allocation of information? What's that like? What kinds of things do you keep in a junk drawer?

Absolutely fascinating.

load more comments (6 replies)
load more comments
view more: next ›