Skip to main content
One Hit Wonder
March 31, 2018
Answered

Memory leak in browser and Deezer desktop app

  • March 31, 2018
  • 99 replies
  • 4594 views
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)
Best answer by Ana.
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

99 replies

Alblinux
Hitmaker
Hitmaker
July 23, 2020

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.


Uf, native app sounds me like the final of “not “ oficially supported electron tweaked app for Linux!

So please, be warned, most Linux users ( 670 votes more or less are much users) are going to leave deezer unless they have an app to play music.

 

PD: the native app is efficient, so a good idea I think. But have in mind compability things like Linux one. I think there are much apis that are multiplatform so .. please

a1997
Alblinux
Hitmaker
Hitmaker
July 23, 2020

Leak easily reproduced on Linux and Windows with Firefox 64

initial state
 

022b1f3e-033f-4862-8ceb-6c624a5b1e3c.png

 


After 20minutes of "flow"

 

4563c7fd-2f13-4b9f-bd42-87e39ec52acf.png

 


After 1h of "flow"

 

9de8ce5c-00e6-4d05-8811-454e045793fb.png

 


For information, all those task manager captures are done with firefox only browsing deezer with "flow" running, nothing else.

 


can you see if in the app it occurs too or not please? at least for me in linux with aur package is happening so I think it will be in windows to.

a1997
Alblinux
Hitmaker
Hitmaker
July 23, 2020

@Rudi can we change title ( too “ memory leaks on browser and app”)once a time it’s confirmed that windows app ( in windows) is having the same problem with memory leaks? For me in Linux is happening and this is probably a windows too problem so..

a1997
Roadie
July 24, 2020

Hi @j94,

Really sorry to hear about it. Our team is already aware of the issue and are working on it.

On the other hand, would you be able to try it on Chrome and see if that works out better for you by any chance? 

I tried this morning with latest Chrome stable (debian package) : 84.0.4147.89 (Build officiel) (64 bits).

Chrome displays the same behavior, with the ever-growing memory usage being tied to the deezer tab (and not to the chrome parent process which remains stable). Notes :

  • the memory gets freed when closing the tab.
  • the memory loss is much quicker with “hifi” setting than with MP3 (128 or 320) setting.
  • pausing playback has no effect (does not free the memory) neither has finishing or emptying the playlist with playback “naturally” coming to a halt.

Thoughts : the memory leak may be tied to the improper implementation of some kind of client-side library or middleware (used for caching, unpacking or sound processing ?) that needs explicit (maybe undocumented ?) memory management not being called by deezer.

Rockstar
July 27, 2020

@Alblinux I took care of it.

Thanks for the precise feedback @j94, we’ll forward it to the dev team. I’m sorry we didn’t have the time to take a closer look to this issue so far.

https://www.deezer.com/en/profile/3421485864
Guitar Hero
August 19, 2020

I also have this problem both on Linux and Windows. Firefox (the deezer tab) sometimes takes all of the available memory in my system, causing the entire system to hang and crash.

After closing the tab the memory is released.

Rudi
Ultimate Superstar
Ultimate Superstar
August 20, 2020

Hey @Bram D

We don't fully support Linux yet - the development of an app is on the plans, but we still need more time. Could I kindly ask you to try Deezer on Chromium to see if the leak is similar? Thank you for keeping us updated :v_tone2:

On Windows do you also use Firefox?

Roadie
September 20, 2020
Rudi
Ultimate Superstar
Ultimate Superstar
September 21, 2020

Thanks for highlighting the other channels @Mateus Amarante you've got a point :thumbsup_tone2:

I'll be sharing the links with the teams to make them aware.

Richard B. Kreckel
Guitar Hero
Guitar Hero
October 4, 2020

AFICT, this is specific to Deezer. I can reproduce this on Linux Firefox 81.0, Vivaldi 3.3.2022.47 and Chrome 85.0.4183.121, also under Windows using an older version of Firefox. With all theses browsers there is flat memory consumption with e.g. TuneIn.