Does anyone have this issue were firefox becomes slow if left open for a long time. In my case after a couple of weeks rendering becomes slow and when I use youtube for example if is laggy, just trying to change volume taka few second to show the volume bar. It also happens to my laptop at work. I have around 30 tabs open.

  • monovergent 🏁@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    9 days ago

    Only the part with youtube. Don’t know if they are pulling some tricks on uBlock users, but about 10 tabs of youtube can get nasty, even with a somewhat recent workstation.

      • _cryptagion@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        11
        ·
        9 days ago

        Listen, not even Dexter is the kind of person to leave thirty tabs open for two weeks. You would have to be some kind of insane serial killer to do stuff like that.

        • aard@kyu.de
          link
          fedilink
          arrow-up
          5
          arrow-down
          3
          ·
          9 days ago

          I currently have a bit over 2400 tabs open, and it has been roughly a month since I restarted firefox for being too laggy. It is becoming an issue again.

            • Lucy :3@feddit.org
              link
              fedilink
              arrow-up
              3
              ·
              8 days ago

              No one can help him. We tried. He has more Firefox tabs than days left on earth. It’s horrible, and I’m looking forward to visiting him one day and resetting everything.

        • TheMachineStops@discuss.tchncs.deOP
          link
          fedilink
          arrow-up
          9
          ·
          9 days ago

          Come on 30 tabs is nothing, read the bug report. The guy in the bug report open about a 1000 in totals, I don’t even know how to keep up with that many tabs.

  • hackerwacker@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    9 days ago

    I had the same problem recently. Especially the youtube UI became very unresponsive and would take several seconds to respond. I have 96G ram…

    I downloaded ESR instead. So far so good.

  • owenfromcanada@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    arrow-down
    3
    ·
    9 days ago

    I don’t hold anything against you, OP, but… 30 tabs open for two weeks makes me feel yucky on the inside.

    • BearOfaTime@lemm.ee
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      9 days ago

      Hahajahajaha

      I have like 90?

      Sorry, eh. (Yea, I know I shouldn’t, but I’m lazy)

    • TheMachineStops@discuss.tchncs.deOP
      link
      fedilink
      arrow-up
      9
      arrow-down
      3
      ·
      9 days ago

      Lol I open them to look at later, and I also open lots songs on youtube to listen to and switch between songs rather than reopen the songs over and over I just keep it open.

      • owenfromcanada@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        9 days ago

        Oh, the 20 tabs thing is perfectly reasonable. But I’m one of those crazy people who completely shuts down his computer every night, including closing my browser. Been using computers for too many years to trust a browser to not leak memory.

      • homicidalrobot@lemm.ee
        link
        fedilink
        arrow-up
        17
        arrow-down
        1
        ·
        9 days ago

        You can bookmark webpages to come back to later and even organize them in trees by category. You can ceeate a playlist of songs from youtube and import it to a service with no ads like piped, then shuffle it. If you’re willing to put up with 30+ open tabs these are much less time consuming than scrolling through the default way it situates tabs, AND there aren’t 30 open tabs sucking your resources.

        If you already knew all this, I’m almost sorry.

    • ilinamorato@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      8 days ago

      Yeah, I get twitchy when I have more than about ten tabs open. My senior regularly has thousands, across multiple browser windows. There are two types of people.

    • Orygin@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      8 days ago

      I have multiple Firefox windows with around 1-1.5k tabs on each, and they have been opened (and re opened) since about a year.
      I ❤️ tabs, they make me feel all warm on the inside

  • circuitfarmer@lemmy.sdf.org
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    9 days ago

    Yes it happens. As others have said: just restart.

    What might not be as clear: when you restart, if it doesn’t just come up and offer to restore your session, you can go to History and Restore Previous Session. This reopens all your tabs (actually, they won’t fully reload until you view them).

  • mbw@lemmy.ml
    link
    fedilink
    arrow-up
    14
    ·
    8 days ago

    Under about:unloads, you will see a list of open tabs, sorted by resource usage. You can click-spam the “Unload” button until that list is empty, or until the most resource-intensive tabs are off the list.

    This does not require any third-party dependencies, and the tab will still be present on top. The site will reload once the tab is selected again.

  • asmoranomar@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    9 days ago

    Try using a tab suspend extension, something like ‘auto tab discard’. Firefox has one built-in, but it’s not aggressive enough.

  • GeraldiniBobini@lemmy.world
    link
    fedilink
    arrow-up
    18
    ·
    9 days ago

    You can see the worst offenders in firefox by using the hamburger menu then more tools and Task manager. You can sort by ram. YouTube likes to hold gigs of ram for some videos. Close the biggest offenders and you’ll get back close to normal speed.

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      9 days ago

      Ding ding ding, the only good reply in this thread.

      The symptoms described by OP smell like good old memory exhaustion.

    • In my experience this doesn’t matter. Firefox just slows down if it’s been open for long, regardless for how long the tab has been open for. Even if you unload all active tabs and open a new one, that new tab will still be significantly slower than it would be if you restarted the entire browser.

      It’s some kind of slow resource leak somewhere.

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      9 days ago

      Firefox can automatically discard tabs when available memory gets too short. You need to configure it to do that though and probably disable the 10min minimum open time too if you’re very short on memory.

    • s_s@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 days ago

      FFS, his leak is probably in an extension.

      Installing more extensions that might also leak is not a real solution, no matter what they do.

  • Zetta@mander.xyz
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    9 days ago

    Dawg I had like ~35 tabs open and hadn’t restarted my PC in over three weeks. Fucking Firefox was sucking back 80 gigs of RAM. 80 fucking gigs.

    On the bright side all the tabs were still loaded when I clicked through them.

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      12
      ·
      9 days ago

      I’ve seen poorly made websites taking gigabytes of RAM before. It’s not firefox’ fault they do that.

      • Zetta@mander.xyz
        link
        fedilink
        arrow-up
        3
        ·
        9 days ago

        True that, I just thought it was crazy. I had recently upgraded to 96 gigs of RAM and I just never imagined a browser would actually suck up that much.

        • Atemu@lemmy.ml
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          edit-2
          5 days ago

          If you had 80GB worth of websites that did something actually useful with it, you’d want Firefox to use it all.

          I usually have dozens of tabs loaded due to usage and I want Firefox to keep all of them into memory so that I can switch between them quicker.

          Though I do also want Firefox to shed load by unloading some of them whe I need memory for something else. There just simply isn’t a mechanism in Linux to do that AFAIK; Firefox will happily keep all of its tabs loaded all the way until OOM eventhough it could shed most of them with little impact on user experience. There isn’t a way for the kernel to ask applications to shed memory load on their own and I think there should be.
          macOS has such a mechanism and Firefox uses it but it didn’t have much effect IME, so it might have been bugged. That was a good while ago that I tested it though.

          Edit: I just found out that there actually is a sort of standard mechanism now: https://systemd.io/MEMORY_PRESSURE/
          I don’t think firefox implements it but it’s also kinda new.