You are viewing a single thread.
View all comments View context
13 points

Once it’s slower, hit F12 -> memory -> snapshot

Should be pretty easy to check out which extension has shitloads of storage. Then you can decide how to go from there - maybe contact the author?

permalink
report
parent
reply
1 point

Memory leak may have been a misdiagnosis. The issue is clearly with Youtube, which is what most extensions I use are about, there is nothing obvious in the memory snapshot (not that it’d be easy to see, because video is a resource hog anyway) and the profiler seems to label the stutter with the very useful label of “jank”, so…

Someone more familiar with web dev than I am may be able to take the profiler logs and debug this, but a) that’s not me, and b) not my job.

permalink
report
parent
reply
2 points
*

Jank means that the renderer was delayed due to a resource conflict - usually because there’s something on the main thread that’s taking too long. Basically your issue is probably a CPU (or GPU) one, not a RAM one - It’s hard to help you out without knowing more about your environment, so all I can really give you is vague advice: if you’re using an adblocker other than uBlock Origin, switch to uBlock Origin, it has much better performance. Check the plugins and extensions and make sure there isn’t something you don’t recognise, if your computer was compromised at some point, cryptominer plugins can really tank performance.

permalink
report
parent
reply
2 points

Figured that much. I’m not a web developer, but I can read a profiler, and the CPU usage spikes before those gaps are a pretty good sign that this isn’t a memory leak. I use uBlock Origin, by the way, but there’s likely some weird interaction between it, other Youtube extensions and Youtube’s own attempts to nuke adblockers from orbit. And no, it’s not a cryptominer as far as I can tell. This looks like either a bug or an unintended behavior of the very popular, very sanctioned plugins running on Firefox (or Firefox itself).

Which is why, as I said, I have settled for periodic reboots. Convenience wins over principle often, but I happen to be stubborn.

Gotta say, though, I appreciate the attempts at troubleshooting, but the OSS and privacy communities in general have a tendency to respond to comments on poor performance, compatibility or UX with tech support, and I think it’s kinda missing the point.

permalink
report
parent
reply
1 point

I’m actually having similar issues. Seemingly at random, my PC will freeze up due to lack of memory and killing Firefox fixes it. Im also sure it must be an extension causing it.

Here are my extensions, let me know which of these you are using and maybe we can narrow it down from that:

  • Neat URL
  • uBlock Origin
  • Return YouTube Dislikes
  • Firefox Multi-Account Containers
  • SponsorBlock
  • Vimium
  • Decentraleyes
  • Enhancer for YouTube
  • Privacy Possum
  • I don’t care about cookies
  • First Party Isolation
  • Startpage Privacy Protection
permalink
report
parent
reply
1 point

FWIW, the only ones we share on that list are uBlock, Dislikes and Enhancer.

Again, best guess is Youtube is desperately trying to poop out some ads and getting reinvented within an inch of its life by those extensions (not to mention dragged kicking and screaming into having pop-up playback windows) and something breaks in there somewhere. I’m not holding my breath for a fix anytime soon.

permalink
report
parent
reply

Asklemmy

!asklemmy@lemmy.ml

Create post

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it’s welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

Icon by @Double_A@discuss.tchncs.de

Community stats

  • 9.3K

    Monthly active users

  • 5.4K

    Posts

  • 300K

    Comments