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.

  • ArcticAmphibian@lemmus.org
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    12 days ago

    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.

    • interdimensionalmeme@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      12
      ·
      edit-2
      12 days ago

      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”.

      • ArcticAmphibian@lemmus.org
        link
        fedilink
        English
        arrow-up
        20
        ·
        12 days ago

        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.

          • interdimensionalmeme@lemmy.mlOP
            link
            fedilink
            arrow-up
            1
            arrow-down
            12
            ·
            12 days ago

            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@lemmy.mlOP
                link
                fedilink
                arrow-up
                1
                arrow-down
                2
                ·
                12 days ago

                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.

                • Mina@berlin.social
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  12 days ago

                  @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.

        • interdimensionalmeme@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          5
          ·
          12 days ago

          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.