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.

    • @[email protected]
      link
      fedilink
      English
      2
      edit-2
      5 months 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
      link
      fedilink
      55 months 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.

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

  • @[email protected]
    link
    fedilink
    English
    365 months ago

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

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

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

        • @[email protected]
          link
          fedilink
          35 months 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).

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

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

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

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

      • _cryptagion [he/him]
        link
        fedilink
        English
        55 months 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.

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

        • aard
          link
          fedilink
          55 months 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
              link
              fedilink
              25 months 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.

  • @[email protected]
    link
    fedilink
    195 months 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
      link
      fedilink
      55 months 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.

  • jackeryjoo
    link
    fedilink
    English
    15
    edit-2
    5 months 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.

  • Possibly linux
    link
    fedilink
    English
    15
    edit-2
    5 months ago

    Close everything and start fresh

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

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

  • @[email protected]
    link
    fedilink
    English
    15 months ago

    which OS do you have? maybe parts of firefox have been moved to swap or compressed memory

      • Possibly linux
        link
        fedilink
        English
        35 months 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.

        • @[email protected]
          link
          fedilink
          25 months ago

          I just have docker containers serving up some self-hostable service for myself.

          I don’t think I’ve seen or heard of issues not rebooting for too long recently. Aside from not getting security updates or bug fixes, what would be some problems that could happen if a system has been running for too long?

          • Possibly linux
            link
            fedilink
            English
            1
            edit-2
            5 months ago

            It might not come back up after power loss.

            Also you do want security updates. It is a bad idea to not install them.

            • @[email protected]
              link
              fedilink
              15 months ago

              Could you elaborate on it not coming back up after a power loss? Assuming these services can get restarted after booting without the need for a user login, why and how would a previous long uptime lead to a possible failure of these services to be spun back up? I apologize if these questions sound dumb and have obvious answers, but I genuinely do not know, and it’s why I’m asking.

              And I’m not in any way trying to say I don’t want security updates. I’m asking that aside from security updates and bug fixes, are there any downsides to a long uptime? Please treat the question as one of curiosity.

              • Possibly linux
                link
                fedilink
                English
                15 months ago

                It can happen because of simple things such as a hardware failure or because the kernel was removed 3 weeks prior. Its unlikely but it always will come at the worse time.

                Also rebooting after any update makes sure that all services have been restarted and are using the newest libraries.

                • @[email protected]
                  link
                  fedilink
                  25 months ago

                  I’m sorry but I fail to see how these problems would be tied to having a long uptime (note the inline code block, as I mean the output of that command instead of uptime in an SLA, which is typically described as high or low instead of long or short). I have yet to find mentions where long uptime leads to higher chance of hardware failures as of recent. If some critical library or the kernel was removed some weeks prior to a reboot, I don’t think long or short uptimes would change your encounter of these issues.

                  And security patches are good, I agree. But there are instances where you don’t need it, eg in an airtight infrastructure, meant just for internal users, of which has no access to the Internet. You fall back to more traditional approaches to security in such cases.

                  As far as whether a service is properly restarted due to library updates, in a containerized environment, you wouldn’t have issues with library version mismatches, or missing libraries, or any sort of failure to restart due to dependencies getting changed without human attention (note that you can automate container updates, but you are then putting trust into whoever is publishing that container).

                  I’m not sure if it’s a lack of understanding of what my question is asking, or some other reason, but if you would please take the time to carefully read my questions and answer more appropriately and with clarity, that would be much appreciated.

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

  • @[email protected]
    link
    fedilink
    35 months ago

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