-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High CPU and memory usage with versions greater than v3.0.2 #36
Comments
What about if you disable the Youtube Watchmarker, is Youtube still sluggish then? I am asking because if you were using the old Youtube theme before then I wouldn't be surprised if navigating Youtube feels sluggish to you now, the new theme is much more CPU intensive. Is the experience sluggish if you only have a few tabs open? You said something about 800 or more Youtube tabs. If the issue only occurs when having that many tabs open then I am not surprised and I do not think there is much I can do to fix this. Thank you for the screenshot, this error isn't worrisome. It appears when the extension tries to communicate with a Youtube tab but the communication script in there hasn't been fully loaded yet. |
No when I open a new youtube tab my cpu spikes for like 2 minutes. If I disable Youtube Watchmarker then cpu usage goes down instantly.
I have 800 tabs but they are not loaded. I have not been able to reproduce the problem on a clean profile with no tabs. It's just that this wasn't a problem on previous versions. I guess I'll stick with the older releases for now. Thanks. |
Some thoughts on why this might be happening. When navigating to a Youtube video, it is marked as watched. At the same time, another tab might currently contain a list of videos where this video is included as well and it should hence be marked as watched. To support this, the extension notifies all Youtube tabs that there is a newly watched video. youtube-watchmarker/background.js Lines 1343 to 1352 in 100aa21
The youtube-watchmarker/background.js Lines 3 to 17 in 100aa21
So in summary, I should find a better way of doing the retry in the Thank you for bringing this up, I will try to address it in the next version. |
I just released version 4.1.0 and hope that this new version performs better for you. Could you give it a try an report back? Thanks! |
Just upgraded and unfortunately it's still exhibits the same symptoms. I'll stick with version 3.0.2 thanks for your help. |
I am facing the same issue. |
I just released version |
I'm sad to report that the problem still persists on 4.3.1 |
still persists on 4.6.1. whenever the addon is open and i have a lot of tabs open, it spikes the CPU usage and playback becomes sluggish/stops for like 30 seconds to 1 minute and eventually things get sorted out. As soon as I disable the extension it works normally. @sniklaus how can I help with data/logs so you can reproduce this and get to the bottom of this? |
Let's start with some simple debugging:
|
I have the same issue. |
I updated to the newer versions and I've noticed that opening youtube tabs is very sluggish compared to before. I narrowed it down to Youtube Watchmarker. Even if I "Refresh" firefox and then install Youtube Watchmarker the problem still persists. The only problem is that this bug may only show up with very large number of tabs. I have a window open with >800 youtube tabs (not fully loaded) but trying to open a new tab with Youtube Watchmarker spikes my cpu and memory.
I've included a screenshot of the addon's console log (v4.0.4).
The text was updated successfully, but these errors were encountered: