Are we all going to ignore this person had Firefox open for weeks?
Firefox
A place to discuss the news and latest developments on the open-source browser Firefox
Why is that unusual? The only time I close apps is when I restart for an update like once or twice a month.
And your computer is running THE WHOLE TIME?
No of course not, sleep + hibernate after awhile in sleep mode is the default on windows.
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.
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.
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.
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.
I don't hold anything against you, OP, but... 30 tabs open for two weeks makes me feel yucky on the inside.
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
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.
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.
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.
Hahajahajaha
I have like 90?
Sorry, eh. (Yea, I know I shouldn't, but I'm lazy)
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.
Why would you need your browser, let alone your PC on for weeks without any break
My laptop with a non-critical service: Uptime: 9 weeks, 5 hours, 34 minutes
FaaS: Firefox as a Service
Close everything and start fresh
Your productivity shouldn't rely on keeping one piece of software running for long periods of time.
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.
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.
I've had this for years, I just exit and restart.
Adeptus mechanicus would be proud of this dude.
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 🤷
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.
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.
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.
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.
Try using a tab suspend extension, something like 'auto tab discard'. Firefox has one built-in, but it's not aggressive enough.