this post was submitted on 13 Dec 2024
79 points (89.1% liked)

Firefox

18050 readers
109 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 

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.

top 50 comments
sorted by: hot top controversial new old
[–] spidertrolled@lemmy.blahaj.zone 58 points 1 week ago (2 children)

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.

[–] Onihikage@beehaw.org 6 points 1 week ago

People really out here treating their web browser like it's a mainframe

load more comments (1 replies)
[–] owenfromcanada@lemmy.world 33 points 1 week ago (5 children)

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

[–] TheMachineStops@discuss.tchncs.de 6 points 1 week ago (2 children)

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 16 points 1 week ago (3 children)

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 3 points 1 week 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).

load more comments (2 replies)
[–] owenfromcanada@lemmy.world 5 points 1 week 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.

[–] BearOfaTime@lemm.ee 5 points 1 week ago

Hahajahajaha

I have like 90?

Sorry, eh. (Yea, I know I shouldn't, but I'm lazy)

load more comments (3 replies)
[–] cy_narrator@discuss.tchncs.de 27 points 1 week ago (10 children)

Are we all going to ignore this person had Firefox open for weeks?

load more comments (10 replies)
[–] RobotToaster@mander.xyz 22 points 1 week ago

I've had this for years, I just exit and restart.

[–] circuitfarmer@lemmy.sdf.org 19 points 1 week ago (1 children)

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).

[–] possiblylinux127@lemmy.zip 10 points 1 week ago (2 children)

Or just use bookmarks like a normal person

[–] circuitfarmer@lemmy.sdf.org 15 points 1 week ago* (last edited 1 week ago) (3 children)

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.

load more comments (3 replies)
load more comments (1 replies)
[–] GeraldiniBobini@lemmy.world 18 points 1 week ago (2 children)

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 4 points 1 week ago

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

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

load more comments (1 replies)
[–] Mandy@sh.itjust.works 17 points 1 week ago (5 children)

Why would you need your browser, let alone your PC on for weeks without any break

[–] Badland9085@lemm.ee 12 points 1 week ago* (last edited 1 week ago) (6 children)

My laptop with a non-critical service: Uptime: 9 weeks, 5 hours, 34 minutes

load more comments (6 replies)
[–] QuazarOmega@lemy.lol 5 points 1 week ago

FaaS: Firefox as a Service

[–] BearOfaTime@lemm.ee 3 points 1 week 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.

load more comments (2 replies)
[–] shath@hexbear.net 16 points 1 week ago

just close it

[–] Tyfud@lemmy.world 15 points 1 week ago* (last edited 1 week 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.

[–] possiblylinux127@lemmy.zip 14 points 1 week ago* (last edited 1 week ago)

Close everything and start fresh

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

[–] mbw@lemmy.ml 14 points 1 week 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.

[–] donuts@lemmy.world 13 points 1 week ago* (last edited 1 week ago) (3 children)

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.

[–] merde@sh.itjust.works 10 points 1 week ago

some people use tabs as bookmarks 🤷

[–] JubilantJaguar@lemmy.world 5 points 1 week ago (2 children)

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 13 points 1 week ago (1 children)

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.

load more comments (1 replies)
[–] orcrist@lemm.ee 5 points 1 week ago (1 children)

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.

load more comments (1 replies)
[–] TheMachineStops@discuss.tchncs.de 4 points 1 week ago (3 children)

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 5 points 1 week ago (1 children)

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.

load more comments (2 replies)
[–] shiiiiiiiiiiiiiiiiiiiiiiiiiiiiiit@sh.itjust.works 9 points 1 week ago (3 children)

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.

[–] Atemu@lemmy.ml 5 points 1 week 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.

load more comments (2 replies)
[–] UltraGiGaGigantic@lemmy.ml 7 points 1 week ago
[–] hackerwacker@lemmy.ml 6 points 1 week 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.

[–] monovergent@lemmy.ml 4 points 1 week 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.

[–] asmoranomar@lemmy.world 3 points 1 week ago

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

load more comments
view more: next ›