youtube-music
youtube-music copied to clipboard
app sucking too much performance in the background, even when not being used (or closed)
Why is it sucking so much of my CPU in the background even after it's closed? It's on an i5-8265U processor
I think this is because if you have this app in background, the page is hidden, but it needs to stay opened to continue playing music, as in the web version.
For project DEVs A beautiful thing to be implemented can be close the page (don't hide it) if not playing some music for (ex.) five minutes. (@th-ch)
I've been running it for hours/days straight with no problem. [Windows 10 build 19042]
@Yeetus3141
- what OS are you running?
- what plugins do you have enabled?
- is it always like that?
I've been running it for hours/days straight with no problem. [Windows 10 build 19042]
@Yeetus3141
- what OS are you running?
- what plugins do you have enabled?
- is it always like that?
I'm running Windows 10 (20H2) I've attached a screenshot of enabled plugins. That happens fairly rarely and I have not found a way to replicate it yet.
I'm also using all those plugins except 'Discord' but I don't actually think its related to that
Upcoming dependencies update might solve some obscure bugs\
Hopefully it doesn't happen again.
Hey @Yeetus3141, thanks for the feedback! I will try to have a look but Electron has an history of consuming many resources, especially when the app is left open, it might explain your situation - these types of bugs depend on many things (e.g. the OS but not only) so it might be hard to reproduce though.
Electron is updated as much as possible in the project, last time I checked the only blocker to go to the next major version was the broken downloader (FFmpeg issue to be exact).
I found a similar problem on Ubuntu 18.04...
3GB of memory
Windows 10 Home 1903
CPU: i5-9300H
RAM: 24GB
After I disabled all plugins, the problem was solved.
I've tried replicating this, left youtube music open for 3 days
cpu&ram&disk usage was totally normal
(worth noting I tested with the new version v1.16.0 which has yet to be released)
can you try using the latest version? https://github.com/th-ch/youtube-music/releases/tag/v1.16.0