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.

  • @[email protected]
    link
    fedilink
    English
    2114 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.

    • Dr. Wesker
      link
      fedilink
      English
      2214 days ago

      20k tabs means there are other problems that need to be addressed

      • @[email protected]OP
        link
        fedilink
        -1214 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

        • Mina
          link
          fedilink
          414 days ago

          @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

          • @[email protected]OP
            link
            fedilink
            -114 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
              link
              fedilink
              214 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.

    • @[email protected]OP
      link
      fedilink
      -514 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.