youtube-music: [Bug]: High CPU Usage
Preflight Checklist
- I use the latest version of YouTube Music (Application).
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
- I understand that th-ch/youtube-music has NO affiliation with Google or YouTube
YouTube Music (Application) Version
3.8.0
Checklists
- I use the portable version of the YouTube Music Application.
- I can reproduce this issue in the official version of (WEB) YTM.
What operating system are you using?
macOS
Operating System Version
macOS 15.3.2
What CPU architecture are you using?
arm64 (including Apple Silicon)
Last Known Working YouTube Music (Application) version
3.7.0
Reproduction steps
- YT Music has started freezing after update from 3.7.0 to 3.8.0
- The top command shows high resource usage
PID COMMAND %CPU TIME #TH #WQ #PORT MEM PURG CMPRS PGRP PPID STATE BOOSTS %CPU_ME %CPU_OTHRS UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH
29225 YouTube Musi 101.6 29:24.54 28/1 1 302- 624M+ 0B 210M- 29178 29178 running *13-[15513+] 0.00000 0.00000 504 1497550+ 23650+ 2493640+ 1167147+ 8279524+ 4908977+
Due to this even basic functions like play/ pause are taking minutes making it unusable. I’ve disabled almost all the plugins. The enabled plugins are :
Expected Behavior
YT Music should not consume these many resources and work lag free.
Actual Behavior
App freezes
Enabled plugins
Added above
Additional Information
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 19
Commits related to this issue
- fix: rollback electron version to v34 (for fix #3216) — committed to annihilatorrrr/youtube-music by JellyBrick 2 years ago
The CPU is still high with Adblock disabled on 3.8.0
On 3.7.5 (without adblock), The startup load is high for a minute and then settles to <20% load
Similar behaviour with adblocker enabled on 3.7.5.
yes, i think it might be a bit better but i’m not sure. it took ~10min from clicking the application to it opening and loading the screen + songs. it’ll randomly pause in the songs it’s playing and take a bit to transition from one song to the other (but might be a bit shorter than in v3.8.0). clicking buttons to navigates takes like 30 seconds but it eventually loads.
The same is happening to me with 3.8.0 on Mac
It works fine on 3.7.5
On M1 pro it is super slow. All the plugins is turned off. Previous version had no such issue until upgrade, I’ve tried to install it back but unfortunately it don’t play anything anymore. I’ve tried to compile from master, but it fails.