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.

  • mbw@lemmy.ml
    link
    fedilink
    arrow-up
    14
    ·
    4 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.

  • Spider@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    22
    arrow-down
    1
    ·
    5 days ago

    Most software in general has hard to detect issues after several weeks of uptime. Its something that’s fundamentally hard to test and fix. Its a big reason why “did you turn it off and on again” is such universal advice.

    • ColonelThirtyTwo@pawb.social
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      4 days ago

      Even if the software was perfect, virtually all desktop RAM isn’t ECC equipped, so you potentially have even the hardware corrupting the state and requiring restarting because of that.

  • Tyfud@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    4 days ago

    What you’re describing is called a resource leak. Something, an extension, a background process, etc., is holding onto resources for too long without cleaning itself up automatically.

    This is pretty common in writing code, and extremely difficult to prevent except in closed and well understood systems. A browser is anything but that, due to the nature of needing to work on any website doing whatever they want.

  • GeraldiniBobini@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    5 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.

    • 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
      1
      ·
      5 days ago

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

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

  • Catfish [she/her]@lemmygrad.ml
    link
    fedilink
    arrow-up
    5
    ·
    5 days ago

    This thread is full of maniacs. Anyone who keeps more than like 10 tabs needs to do some sand art or some shit. You gotta let some things go man.

  • .Donuts@lemmy.world
    link
    fedilink
    arrow-up
    12
    arrow-down
    2
    ·
    edit-2
    5 days ago

    If it’s related to the thread you posted then try Nightly?

    That’s only in Nightly right now, unfortunately; it won’t make it out to Release until v134.

    Also, can I ask why you’d leave your browser open for weeks? Just curious of the use case. The thread mentions having 5700-7000 open tabs, and I can’t fathom why someone would do that. It’s not like the websites disappear if you close the tab. Nothing to do with the problem though, you don’t have to answer.

    • JubilantJaguar@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      2
      ·
      5 days ago

      Also, can I ask why you’d leave your browser open for weeks?

      This just begs the question, Why do you not leave it open?

      • .Donuts@lemmy.world
        link
        fedilink
        arrow-up
        10
        arrow-down
        1
        ·
        5 days ago

        To conserve resources / power? Like when I’m done using an app, I close it. When I’m done reading a website or using online banking, I close it. I don’t leave my email, games or music open after I’m doing using them either. I actually turn off / sleep my entire device when I’m done using it, but that’s not what my curiosity is about.

      • orcrist@lemm.ee
        link
        fedilink
        arrow-up
        3
        ·
        5 days ago

        Maybe because the software is designed to make that very practical and smooth. You also might point to hardware limitations, should you have a machine that doesn’t have a lot of RAM, or perhaps you might point to simplicity, and that you don’t want to have a cluttered taskbar.

        But it’s kind of ironic that you would ask why not leave software open on a post where the problem was specifically mentioned as one that is solved by closing the software.

        • JubilantJaguar@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 days ago

          So perhaps another anecdote is in order. I currently running three instances of Firefox (different profiles) on a low-end Celeron laptop. I don’t usually shut them except sometimes by mistake. What I do do is close tabs, if only for simplicity’s sake (because idle tabs are unloaded from memory anyway). I’m experiencing no sluggishness issues.

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

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

    • ilinamorato@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      4 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
      3
      arrow-down
      2
      ·
      4 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

    • TheMachineStops@discuss.tchncs.deOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      5 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.

      • homicidalrobot@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        5 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.

        • lemming@sh.itjust.works
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          5 days ago

          Personally, if I bookmark something, the odds of ever getting back to it are very, very low, and so are the odds of deleting obsolete bookmarks of unread news etc. But the songs tips are great, I’ll have to look into it, thank you!

          And 30 tabs is very tame.

      • owenfromcanada@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 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.

  • muhyb@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    4 days ago

    It’s either you need more RAM or you must learn to use a tab group extension. Also, if it gets slow, just restart it.

    Simple Tab Groups is a nice add-on.

    My personal favourite is Sidebery. It has vertical tabs and easily navigatable via mouse wheel. You can even unload a tab. And has tons of customization options.

  • hackerwacker@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    5 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.

    • s_s@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      4 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.

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      5 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.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    5 days ago

    Close everything and start fresh

    Your productivity shouldn’t rely on keeping one piece of software running for long periods of time.