-
Notifications
You must be signed in to change notification settings - Fork 543
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
(Bug): Random memory leaks #166
Comments
I can't seem the reproduce this either. Could you show us the Chrome Task Manager to show high memory usage? |
I think I have a theory for why this happens and why yall can't reproduce it. It might not even be a memory leak. I open lots of YouTube tabs, probably in the hundreds. While I'm opening them one by one, the extension doesn't use up all of my CPU. It seems to happen when the hundreds of tabs have been "discarded" by Chrome from inactivity and I come back to the window and it's as if every single tab is being worked on at once by the extension. Just today, Chrome's Task Manager told me that the Browser used up 700% of my CPU, which doesn't even make sense because I only have 2 cores. I disabled the extension again and well, the usage dropped like I expected. I'm still not 100% sure this is the real cause but I think an update where it doesn't work on unfocused tabs would be the fix for it perhaps. |
That's a good theory and I'll have to do some testing on that. Based on the way that chrome extensions work, that might actually be possible.
As for the 700% thing... I know that chrome may display up to "200%" if you have a hyperthreaded processor (eg 2 cores 4 threads) but I've never heard of 700%. |
I encountered it again today. I tried closing the tabs themselves, but it still used up around the 100% range of my CPU. No tabs open whatsoever. Restarted the extension and back to normal again. |
thanks for report |
Also getting hit about once a week with high CPU, toggling off/on the extensions clears it |
Browser
Google Chrome
Browser Version
Version 96.0.4664.45
Extension or Userscript?
Extension
Extension/Userscript Version
1.0.0.2
What happened?
It seems to be completely random but I know that it's from this extension because when the memory leak happens, my PC gets super slow and when I disable the extension, it instantly goes back to running normally. I can't provide a video link because as I said, it's completely random. Iirc, I've mostly seen it happen when I'm not focused in a YT tab but that could be completely unrelated.
The text was updated successfully, but these errors were encountered: