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.
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.
I’ve had this for years, I just exit and restart.
Try using a tab suspend extension, something like ‘auto tab discard’. Firefox has one built-in, but it’s not aggressive enough.
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.
People really out here treating their web browser like it’s a mainframe
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.
Close everything and start fresh
Your productivity shouldn’t rely on keeping one piece of software running for long periods of time.
https://addons.mozilla.org/firefox/addon/auto-tab-discard/
I’ve got more than 30 open tabs, though in practice I don’t actually need ALL those tabs loaded. The extension unloads inactive tabs after a configurable time. You can also configure the extension so that pinned tabs are not unloaded, certain domains/URL patterns are not unloaded, etc.
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.
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.
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.
some people use tabs as bookmarks 🤷
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?
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.
Sure. Personally I just close the tabs, tho.
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.
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.
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.
Have you tested with specific websites? Could it be a tab has some have JavaScript running constantly that’s causing the issue?
I haven’t tested it at my home laptops, but my work laptop all tabs become slow. I have to restart it every time.
You should try that nightly build for troubleshooting purposes
Also, because it forces you to restart the browser every night.
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).
Or just use bookmarks like a normal person
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.
There is, when your way consumes resources absurdly.
It doesn’t. When you reset it, they take very little resources until you actually load them.
they have an entirely different use case
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.
I don’t believe any of them. Sounds like they just want to feign outrage to seem interesting.
As a therapy? To learn to let go of stuff?
This is some S tier trolling.
What?
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.
Lol, guess I’m an insane serial killer then!
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.
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.
Seek help…
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.
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.
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.
I can’t wait for Servo to be finished so I can move away from Firefox, it uses way too much memory.
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!
There are two new browsers coming Servo written in Rust and Ladybird (web browser) written in Swift. Lets see which one will win. Ladybird alpha is coming in 2026 and they have more funding.
Servo won’t protect you against shitty websites gobbling up memory.
It will still lower memory usage considerably, Firefox uses way more memory than Chrome. Memory optimization is horrible in Firefox.
[citation needed]
I test firefox vs edge in my pc, both with ublock origin. Firefox noticeably uses more ram than edge which uses same engine as chrome.
Here this person saw the same results as me: https://libreddit.bus-hit.me/r/firefox/comments/18gp19l/ram_usage_in_firefox_vs_edge
Their methodology (and therefore likely yours aswell) is flawed and it was immediately pointed out in that thread too: https://libreddit.bus-hit.me/r/firefox/comments/18gp19l/ram_usage_in_firefox_vs_edge/kd2u2pq/?context=3#kd2u2pq
Measuring the memory “a process” actually “uses” is not trivial.
I’ve seen poorly made websites taking gigabytes of RAM before. It’s not firefox’ fault they do that.
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.
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.
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.
just close it