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.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    46 minutes ago

    Close everything and start fresh

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

  • circuitfarmer@lemmy.sdf.org
    link
    fedilink
    arrow-up
    6
    ·
    1 hour 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).

      • circuitfarmer@lemmy.sdf.org
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        34 minutes ago

        Bookmarks are for really important stuff. Open tabs are for stuff I want to be able to easily stumble back upon, but I won’t be butthurt if I dont.

        There’s nothing wrong with having more than one way to categorize stuff.

        Edit: and considering that session data is also written to disk, there really isn’t much difference between bookmarks and open tabs anyway.

  • Spider@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    18
    ·
    4 hours 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.

  • monovergent 🏁@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 hours 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.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        42 minutes ago

        I’ve had Debian VMs run for long periods of time without me touching them. They normally would have high uptime unless it automatically reboots to apply a kernel update. The key is these are virtualized servers. You should absolutely avoid running to long without a reboot. The longer you wait the greater the chance of something breaking on the next boot. There is also the issue of memory fragmentation but that’s not really an issue these days.

    • BearOfaTime@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      Lol, cause we’re all lazy gits.

      Cobbler’s kids have the worst shoes. I’m the cobbler, and reboot when things start acting up.

  • owenfromcanada@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    8 hours ago

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

    • TheMachineStopsOP
      link
      fedilink
      arrow-up
      6
      ·
      6 hours 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
        9
        ·
        6 hours 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.

        • BearOfaTime@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          3 hours ago

          I’m almost sorry

          Hahahahaha oh boy the comments here today are great!

          (I’m one of those who never reboots, never closes Firefox).

        • lemming@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          5 hours 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
        2
        ·
        4 hours 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.

      • _cryptagion@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        8
        ·
        6 hours 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
          2
          arrow-down
          2
          ·
          2 hours 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.

        • TheMachineStopsOP
          link
          fedilink
          arrow-up
          5
          ·
          6 hours 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.

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

  • Zetta@mander.xyz
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    4 hours 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
      5
      ·
      3 hours 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
        1
        ·
        1 hour 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
          1
          ·
          edit-2
          7 minutes 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.

    • TheMachineStopsOP
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      edit-2
      4 hours ago

      I can’t wait for Servo to be finished so I can move away from Firefox, it uses way too much memory.

      • Zetta@mander.xyz
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 hour ago

        I’m so hyped as well! Just read their monthly update blog today actually! I’m mostly hyped because it’s the first actual new web browser in a very, very long time, and that’s just plain exciting!

      • Atemu@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        3 hours ago

        Servo won’t protect you against shitty websites gobbling up memory.

        • TheMachineStopsOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          2 hours ago

          It will still lower memory usage considerably, Firefox uses way more memory than Chrome. Memory optimization is horrible in Firefox.

  • GeraldiniBobini@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    9 hours 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
      1
      ·
      3 hours ago

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

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

  • Sanctus@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 hours ago

    Check the RAM usage of each tab. My Firefox is constantly open at work, albeit with anywhere from 1-10 tabs, and it never gets slow. Only time I restart it is when Firefox updates.

  • .Donuts@lemmy.world
    link
    fedilink
    arrow-up
    14
    arrow-down
    4
    ·
    edit-2
    13 hours 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
      3
      ·
      12 hours 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
        12
        arrow-down
        1
        ·
        12 hours 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
        5
        ·
        12 hours 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
          2
          arrow-down
          1
          ·
          12 hours 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.

    • TheMachineStopsOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      13 hours ago

      I only have around 30 open and I don’t turn off the laptop, after a while firefox becomes sluggish and I have to restart it.

      • fartsparkles@sh.itjust.works
        link
        fedilink
        arrow-up
        5
        ·
        12 hours ago

        Have you tested with specific websites? Could it be a tab has some have JavaScript running constantly that’s causing the issue?

        • TheMachineStopsOP
          link
          fedilink
          arrow-up
          3
          ·
          12 hours ago

          I haven’t tested it at my home laptops, but my work laptop all tabs become slow. I have to restart it every time.

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