Answered

Memory leak in browser and Deezer desktop app


Userlevel 2
Recently, there is a memory leak when using the player in the browser. After closing the tab with the player, the memory returns.
OS: Debian 8.8 amd64 / 3.16.0-4-amd64 #1 SMP Debian 3.16.51-3 (2017-12-13) x86_64 GNU/Linux
Browser: Firefox Quantum 59.0.2 (64-bit)
icon

Best answer by Ana. 1 April 2018, 10:43

View original

99 replies

Userlevel 2
HTML5 does not help.

Userlevel 7
Badge +1
Hi there, we don't support Linux on the web version, so I'm unable to offer much help, maybe someone else will have some input. In the meantime, there's a topic on our ideas forum about Linux support, make sure you vote for it to be implemented and join the conversation - https://en.deezercommunity.com/ideas/321
Userlevel 2
Thanks!
Userlevel 3
Leak easily reproduced on Linux and Windows with Firefox 64

initial state



After 20minutes of "flow"



After 1h of "flow"



For information, all those task manager captures are done with firefox only browsing deezer with "flow" running, nothing else.
Userlevel 7
Badge +1
Hi @arnaudd_fr were you using Linux or Windows?
Userlevel 3
Same issue has been seen with Linux and reproduced with Windows 7 64 bits.

The screenshots are from windows task manager
Userlevel 7
Badge +1
Hi @arnaudd_fr thanks for the furhter explanation. I will pass this on to the team to have a look 😉
No resolutions for this issue yet?
Any workaround?

Still waiting for linux native app (:
Userlevel 7
Badge +7
Hey @Lucas Zorzi

Thanks for the query. We're discussing the possibility of a native app. But in the meantime, could you give us more details about what you've got? OS, browser version, system specs.
Hey @Lucas Zorzi

Thanks for the query. We're discussing the possibility of a native app. But in the meantime, could you give us more details about what you've got? OS, browser version, system specs.


Sure, I'm using Elementary OS (Ubuntu based) and Firefox 67.0.4 (but I have the same issue in chrome) and these are my system infos.

Userlevel 7
Badge +7
Thank you for the input, @Lucas Zorzi we'll pass it on.

Seconded. Seeing this problem, too. Latest 64bit Firefox, various recent Ubuntu versions, Lenovo Thinkpad, Dell XPS13. Would be nice if the webapp wouldn’t require a restart every couple of hours.

Userlevel 7
Badge +7

Hi there @kommadieb 

Thank you for your patience. Have you tried using it on the new Microsoft Edge? It performs lighter on my end :wink:

Same issue here (Linux 64bits / Chrome 80.0)

 

The Deezer tab does not use a lot of memory itself, but the Browser one is constantly leaking memory when using “flow”

Closing the Deezer tab will free the memory in the Browser process however

Userlevel 7
Badge +7

Hi @Romuald Brunet 

Thanks for the detailed feedback. So just to confirm, it isn't Deezer itself, but when you play Flow? It's important for our devs to understand exactly where it's coming from (or in this case, going to). Could you also try on Discovery or Chill cards?

@Rudi It happens when I play Flow, but also when playing playlists (loved tracks in my test)

 

I’ll try Discovery / Chill cards tomorrow

 

The memory growth is very slow FYI, it takes a few hours to go up to up to a Gigabyte of memory (for example I’m at 350Mb after about one hour, starting from ~ 120Mb initialy)

It only occurs when playing, I have the tab kept open all night without any change

Userlevel 7
Badge +7

Hi again @Romuald Brunet 

Thanks a lot for coming back to us and providing further details. I'll keep passing your comments to our developers as feedback! :wink:

Userlevel 1

same issue here, if I use web deezer player in firefox, it consumes all memory I have in half a day

mce@mcl2:~$ uname -a
Linux mcl2 5.3.0-45-lowlatency #37-Ubuntu SMP PREEMPT Thu Mar 26 21:30:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
mce@mcl2:~$ cat /etc/issue
Ubuntu 19.10 \n \l
mce@mcl2:~$ apt show firefox
Package: firefox
Version: 74.0+build3-0ubuntu0.19.10.1

Userlevel 7
Badge +3

Hi @mce thank you for contacting us. Please bear in mind that we do not support Ubuntu - Deezer does not work on Linux. You could try Google Chrome as a browser but we cannot guarantee this is working either. Apologies for any inconvenience caused. 

Userlevel 1

The same behaviour in Google Chrome. IMHO, as this is a web access app, it should work without serious issues in any browser following HTTP standard. I wouldn’t expect company like yours can afford to ignore Linux platform as a whole. You indirectly limit your user’s freedom of choice.

Userlevel 7
Badge +7

Hi there @mce 

Thanks for coming back to us.

We're unhappy about not supporting Linux at the moment so we understand your frustration - apologies we're unable to give you the integration you've been looking for.

It's just at this moment, this kind of development requires resources that are dedicated to more urgent features and fixes. This situation is likely to change in the future, but we also want to be transparent with you and the rest of the community. Follow this topic here for more info, some users shared their workarounds and there might be something for you :relaxed:

Userlevel 1

Hi all, 

I’m having the same problem: when deezer in a browser is playing songs, the memory footprint of the browser process grows and grows, making it infeasible to enjoy deezer. This is on all my browsers (Chromium, Brave + Vivaldi (which both rely on Chromium), and Firefox (which does not)), ran on Linux Mint. 

I know you «don’t support Linux» but since the problem persists in several browsers, and arnaudd_fr reproduced the problem on Windows 7, there is evidence that this is not a Linux issue but a problem of the deezer browser app. 

Either way, I find this very frustrating - it makes deezer unusable on the desktop for me. Please make an effort to fix this, it has been two years with this problem now. 

best wishes

Kai

Same problem here! I just want to reinforce the impact of the problem! It does not last more than a half-day to run my computer out of memory.

Userlevel 7
Badge +7

Hey @Mateus Amarante @tobert 

I get you, really. Sorry to hear about your experience.

Could I please ask you to vote for this idea here (if you haven't already done so) and check if you can install an unofficial version of the desktop app for your Linux :nerd:

In the meantime I'll be forwarding your comments to our teams :v_tone2:

Bug confirmed with Firefox 78.0.2 - 64 bits under Ubuntu 20.04LTS.

As a french user, I recently changed to a hifi account and the memory leak is now extremely quick to take down the whole system memory (8Go+2Go swap) and crash/freeze the browser (in less than 2 hours of listening).

So the leak seems proportional to the selected audio quality. This problem is terrible and does not happen with other audio streaming providers i have tested. So this is probably not a linux-specific related issue.

Please fix it ASAP.

Reply