The feature is called Tab Unloading, and weirdly enough they made it not easy to access despite its usefulness.

You basically have to type about:unloads in the address bar and hit enter. If you then click on “Unload”, it will put the least used tabs to sleep. If you keep clicking that button until it’s greyed out, you’ll have unloaded all your tabs from memory.

This feature is handy if you want to temporarily switch to something that is memory hungry without having to close your 100 tabs.

  • boothin@artemis.camp
    link
    fedilink
    arrow-up
    103
    arrow-down
    2
    ·
    10 months ago

    Your Firefox should be doing this automatically when it detects the system needs more memory. You shouldn’t need to do it manually in almost any case

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      10 months ago

      Nope! Not happening or at least not soon enough. Neither on macOS or Linux (can’t speak for the stupid platform).

      Firefox will happily keep tabs open, even if macOS reports major memory pressure or Linux needs to invoke the OOM killer because it’s Gigabytes into swap.
      Not to speak of what happens before memory pressure is reached; Firefox will also happily use all of your memory even if you’d rather have it free for something else you’re going to do next.

  • 👁️👄👁️@lemm.ee
    link
    fedilink
    English
    arrow-up
    61
    arrow-down
    1
    ·
    edit-2
    10 months ago

    Firefox does this automatically to prevent crashing. There’s no real reason to unload tabs manually. If your operating system or Firefox needs more memory, then it will unload the tabs automatically. Unused ram is wasted ram. Don’t be scared by ram usage going up, it gets freed on demand.

    • Redjard@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      There are reasons, and there are addons that allow you to unload tabs via their right click menu.

      For me it is a way to keep tabs in a window for organization without them using cpu. In some sense it’s like replacing tabs with bookmarks that integrate into the browser like tabs.

  • hemko@lemmy.dbzer0.com
    cake
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    12
    ·
    10 months ago

    Just close unused tabs smh

    Can’t understand people who’re juggling 100s of tabs

    • XpeeN@sopuli.xyz
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      10 months ago

      I just say eh this one is important but I can’t rn so I’ll deal with it later. Anyway, 60 tabs waiting for me on FF Android. Idk how much I tabs are stashed on PC lol. ADHD struggles are real

    • Redex@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      10 months ago

      Personally I use simple tab group that allow you to separate tabs into groups that you can open in different windows. It’s extremely useful but it means sometimes if you switch between multiple tab groups you might have a lot of tabs open, but using this would allow you to majorly mitigate that problem.

    • calzone_gigante@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      6
      ·
      10 months ago

      This, if you want to act on something later, just create a bookmark and set a reminder, act on what you need, then close and move on, don’t clutter your browser and your head.

      Usually, i open one window for each task, so i don’t get a lot of unrelated content mixed up and loose focus. I rarely need more than 1~5 tabs.

    • Nioxic@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      10
      ·
      10 months ago

      They cannot juggle 100 tabs.

      Simple as that

      Its not possible to manage for anyone.

      Theyre just too dumb to close them

  • Creat@discuss.tchncs.de
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    10 months ago

    “Auto tab discard” is the name of the add-on I use that also uses this functionality. Highly configurable for automatic discarding (based on total count for example), and also allows manually discarding with a click (or shortcut, I think).

  • calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    10 months ago

    I would like the opposite though. When I used chrome, my WhatsApp web tab would load even if I didn’t open it, so I still got notifications. In Firefox I have to manually switch to that tab every time I open it.

  • profilelost@discuss.tchncs.de
    link
    fedilink
    arrow-up
    8
    ·
    10 months ago

    I use the addon Sideberry (for vertical tabs) and it brings the option to unload specific tabs with it’s context menu.

    I don’t get why about:unloads doesn’t let the user decide which specific tabs they want to close.

    • AlmightySnoo 🐢🇮🇱🇺🇦@lemmy.worldOP
      link
      fedilink
      arrow-up
      6
      ·
      10 months ago

      From what I understand it basically just saves the minimal state possible (URL, form inputs), which is lighter than keeping all the rendering details in memory, so maybe that minimal representation still stays in RAM as its footprint would be negligible.

      • Belazor@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        It doesn’t save form inputs because when you click a suspended/unloaded tab, it reloads the whole page. Everything unsaved on that page is lost.

        I really hope some day Firefox will work the way you say, though.

        • AlmightySnoo 🐢🇮🇱🇺🇦@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          10 months ago

          That’s weird then, because this says:

          The tab’s scroll position and form data are restored just like when the browser is restarted with the restore previous windows browser option.

          If it doesn’t do that then I’d say it’s a bug?

    • kevincox@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      10 months ago

      It gets thrown away. When you go back to the tab it will effectively reload.

      (It will attempt to save some extra information such as scroll position and form inputs but this isn’t 100% reliable so I would treat it as a nice-to-have not something to rely on.)

  • wagoner
    link
    fedilink
    arrow-up
    4
    ·
    10 months ago

    Huge missed opportunity to name it Diet Tab…

  • WhoRoger@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    10 months ago

    IceRaven, Android FF fork, has this feature as an option, and it’s very cool when using permanent private browsing mode. It makes it less likely that the OS will kill the browser in the background.

  • Echo Dot@feddit.uk
    link
    fedilink
    arrow-up
    5
    arrow-down
    3
    ·
    10 months ago

    I’m pretty sure that Chrome does this automatically. When I work I usually need about 98,000 tabs open at a time and often I don’t actually click any of them but I need them.

    Anyway I will often open a tab and have to wait to it for it to load. But I’ve played around with it and I don’t seem to be able to get consistent results so I’m not sure what parameters it’s using.

      • Echo Dot@feddit.uk
        link
        fedilink
        arrow-up
        3
        ·
        10 months ago

        Right now?

        • Internal ticket tracker
        • Internal knowledge base system
        • OneNote with the actual knowledge base system because the knowledge base is never updated
        • Corporate emails
        • Client emails
        • Spam messages blocking system
        • Shift timetables
        • Engineer to English random acronym guide. Unless you know what ROD means.
        • O365 files
        • O365 online Word document
        • Software phone app
        • YouTube
        • PC parts picker website
        • Steam website
        • UPS live chat
        • Lemme

        So a fair few. Although I can probably close the UPS live chat tab because I’m getting nowhere with these idiots.

        • Dataprolet@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          10 months ago

          This reads like the dystopia in which every piece of software got replaces by a proprietary web application by some evil mega corp. What you need is at least a mail client and a word processor.

    • bemenaker@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      6
      ·
      10 months ago

      No, no you don’t. IF you aren’t accessing stuff on them, you don’t need them open. Keeping 100 tabs open for later, is stupid.

      • Echo Dot@feddit.uk
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        10 months ago

        It also doesn’t affect performance because Chrome closes them as needed so why not?