spotube icon indicating copy to clipboard operation
spotube copied to clipboard

High Resource Usage

Open Rareionn opened this issue 9 months ago • 1 comments

Is there an existing issue for this? (Please read the description)

  • [x] I have searched the existing issues

Current Behavior

I get notifications and alerts on my phone that spotube is using a lot of system resources. As im typing this, I can see my typing outcome as sluggish and out of sync. it lags so much, I can't even open another app without the music pauses for a moment.

Expected Behavior

be fluid, less resource hungry, and lightweight on the system

Steps to reproduce

open app play music leave app in background phone go lag

Logs

Logs
N/A

Operating System

Android

Spotube version

V4.0.0

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

  • [ ] I'm ready to work on this issue!

Rareionn avatar Mar 11 '25 01:03 Rareionn

It's even worse on windows - like 50% usage and more on the cpu. I'm usually idling around 10-15% cpu, spotube boosts that to 90% and fans running at max.

skruglov2023 avatar Mar 11 '25 23:03 skruglov2023

as skruglov2023, the last update (v 4.0.2) induce a strong enhancement of the processor ressource and the fan running ...I am looking to go back at mas last version..

themagiciendoz avatar Mar 25 '25 13:03 themagiciendoz

Hello, same feeling here on ubuntu 24.04.2 up to date. Change occurs after upgrading from 4.0.1 et 4.0.2 (due to spotify account login error) Thanks

top - 09:41:49 up 2 days,  1:08,  1 user,  load average: 3,42, 3,13, 2,25
Tâches: 466 total,   4 en cours, 461 en veille,   0 arrêté,   1 zombie
%Cpu0  : 20,9 ut,  8,0 sy,  0,0 ni, 70,0 id,  1,0 wa,  0,0 hi,  0,0 si,  0,0 st 
%Cpu1  : 22,2 ut,  8,5 sy,  0,0 ni, 69,3 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st 
%Cpu2  : 26,0 ut, 10,3 sy,  0,0 ni, 63,7 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st 
%Cpu3  : 16,8 ut,  6,1 sy,  0,0 ni, 77,1 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st 
%Cpu4  : 26,2 ut,  9,7 sy,  0,0 ni, 63,4 id,  0,3 wa,  0,0 hi,  0,3 si,  0,0 st 
%Cpu5  : 21,1 ut,  8,2 sy,  0,0 ni, 70,4 id,  0,3 wa,  0,0 hi,  0,0 si,  0,0 st 
%Cpu6  : 18,0 ut,  6,9 sy,  0,0 ni, 74,7 id,  0,3 wa,  0,0 hi,  0,0 si,  0,0 st 
%Cpu7  : 19,1 ut,  7,8 sy,  0,0 ni, 73,0 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st 
%Cpu8  : 23,8 ut, 11,2 sy,  0,0 ni, 64,3 id,  0,3 wa,  0,0 hi,  0,3 si,  0,0 st 
%Cpu9  : 25,9 ut,  9,9 sy,  0,0 ni, 62,6 id,  0,3 wa,  0,0 hi,  1,4 si,  0,0 st 
%Cpu10 : 23,4 ut,  8,1 sy,  0,0 ni, 68,1 id,  0,3 wa,  0,0 hi,  0,0 si,  0,0 st 
%Cpu11 : 24,5 ut,  9,9 sy,  0,0 ni, 65,0 id,  0,7 wa,  0,0 hi,  0,0 si,  0,0 st 
MiB Mem :  63936,3 total,  21939,0 libr,  19316,6 util,  28296,8 tamp/cache     
MiB Éch:   2048,0 total,   2048,0 libr,      0,0 util.  44619,8 dispo Mem 

    PID UTIL.     PR  NI    VIRT    RES    SHR S  %CPU  %MEM    TEMPS+ COM.                                                 
 230051 username  20   0 4289580 348960 140748 R 107,3   0,5  10:22.49 spotube                                              
   5577 username  20   0 5463316 528792 269516 R  73,2   0,8 322:33.63 gnome-shell                                          
  13667 username  20   0 1397468  93656  67008 S  29,5   0,1   4:19.05 tilix                                                
  11258 username  20   0 2600708 224756 105484 R  18,9   0,3 110:18.11 Isolated Web Co                                      
   9932 username  20   0   30,6g 994,5m 362156 S  17,9   1,6      6,17 firefox                                              
   6136 username  20   0 1883792 209728  97852 S  10,9   0,3   1:54.99 xdg-desktop-por     

chatarGit avatar Mar 26 '25 08:03 chatarGit

running high right after starting in a docker container (on unraid)

Image

spotify user is logged in. but there is no open connection to vnc. it does not show any logs either.

h4de5 avatar Apr 02 '25 08:04 h4de5