Answered

Memory leak in browser and Deezer desktop app



Show first post

39 replies

Userlevel 2
Badge

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? 

Hi.

I confirm the bug on Xubuntu 20.04, in Firefox and Chromium.

Need to refresh the tab sometimes to clear memory usage.

Userlevel 7
Badge +2

Hi.

I confirm the bug on Xubuntu 20.04, in Firefox and Chromium.

Need to refresh the tab sometimes to clear memory usage.

I use Chrome OS and no issue like this.

Have you tried to reinstalling browser. I must be extremely lucky, but nothing like this.

It played for hours now on my Chromebook during the work day and the evening.

On my three week journey with Deezer I can’t find anything big. The ones I do find need work, I’ve took moments to surf on this community and most of this are either in the fix or coming.

Isn’t Chromium almost the same as Chrome and Chrome OS?

Userlevel 4
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/got-an-idea-9/linux-needs-a-native-client-for-deezer-856


The web version, since is played by browsers that are “almost” the same in windows and linux are “ supported” in a indirect way by you. So please, don’t give that risponses because we are using Linux because it’s much probably that is happening in windows too.

Userlevel 4
Badge +1

Actually, I have noticed this in the electron, official, native app version too( app version of windows, that is avalaible in Linux with some tweaks). The memory is being increased by the time you are using the player.

 

one hour of playing
recently opened

But with more hours is worse, the app increase them memory ram usage until “ no” limits, because I have seen deezer using 0.7 GB itself so… Electron is deezer by itself because deezer is build with electron at some “ easy” way to say, you can ask your developpers.

 

To sum up,. the app is getting more memory like the playing time is higher.

 

So in little words, this is likely to happen too in windows, and I think is not so high priority but this has to be addresed in some time… ( in browser and app versions, both)

Userlevel 4
Badge +1

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

Userlevel 4
Badge +1

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.

Userlevel 4
Badge +1

@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..

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.

Userlevel 7
Badge +3

@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.

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.

Userlevel 7
Badge +5

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?

I would like to share related discussions:

This problem seems to be annoying everyone that plays Deezer on PC for many hours

Userlevel 7
Badge +5

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.

Reply