Answered

Memory leak in browser and Deezer desktop app



Show first post

99 replies

I add myself into this thread since I also have this issue (and tried reporting it on the french counterpart of this website two months ago but got no response : https://fr.deezercommunity.com/autres-appareils-35/problemes-avec-votre-navigateur-internet-symptomes-et-resolution-15?postid=109210#post109210 ).

I’m running Linux (Debian) with Firefox (but I tried Chromium too), and it usually fills my 16GB of ram in about 6 hours, so I had to add an automatic refresh of deezer tab every 4 or 5 hours.

I’m happy to hear that a new interface is being worked on, I hope it will fix it and other bugs (Cf. link above)!

Also, if there is a way to test it before it’s ready for public release, I bet some people here — including me — would be glad to try it and give feedback.

Userlevel 7
Badge +7

Sure thing! @Dagrut 

That's really nice feedback from you.

Yes, and we've made some progress internally this week. Things are a bit slow but all going well.

Our current app has had a big update as well, to version 5.0, and I noticed the performance improved. Looking forward to what's coming next :grin:

I'll keep your name on the radar for future testing too :thumbsup_tone2:

Hello,

I want to report that I also am suffering from the memory leak on desktop (W10). Uninstalling and deleting the folders doesn’t resolve it. App restarts after approx. ±1 hour of playback with RAM usage of up to 6 Gb (that i have seen).

Hardware specs:

  • Monitor: Asus PG279Q
  • MOBO:  MSI B450 Pro carbon AC
  • Prrocessor: AMD R3600
  • Videocard: Gigabyte GTX 1080Ti Aorus Xtreme
  • 16Gb Ram @3600 Mhz
  • Ask away if u need more info

The issue is there since I started my subscription around 2 years ago.

Extra: What is the status on gapless playback?

Regards Glenn

Userlevel 7
Badge +7

Gapless is still on our roadmap but I don't have concrete dates yet @Loeki 

Thanks for asking and obviously thank you for your feedback, I've passed it on :relaxed:

Hi there,

Suffering from massive memory leaks on Mac ; 1.75Gb usage, more so than Adobe Photoshop being used in parallel. Problem resolved on reboot of desktop app, but very frustrating having to periodicially restart it all.

Userlevel 7
Badge +7

This will be something we're tackling in the long-term @Rhazkept so thank you very much for your feedback, it's super useful :thumbsup_tone2:

When can we expect this to be fixed?

It has been going on for a long while, and nothing seems to have changed. This is extremely annoying and constantly breaks Deezer in the browser. I think it would be fair to state that we should have seen this fixed years ago, we pay a monthly subscription to use the service after all.

Userlevel 7
Badge +7

I totally understand that @timvisee 

We haven't made big improvements on this since we launch the apps but it's on our radar. It's something that needs a lot of development and for that reason, it takes time for a company of our size.

Stay tuned, your feedback is very welcome and will be forwarded to our teams.

I am also affected by this issue. Last night my whole system (Manjaro Linux) became unresponsive and I had to reboot the computer. After reviewing system logs I found out Firefox had been eating 26 gigabytes of memory, almost all of it by Deezer (I had been playing music for a while and it had time to accumulate without me noticing).

It’s puzzling to me how an issue of this magnitude can go unfixed for this long. It is dead simple to reproduce and memory allocations should be pretty easy to track for a competent developer armed with a debugger.

Userlevel 7
Badge +7

Thanks for the detailed feedback @Andriamanitra 

I believe the issue here is the fact we use an Electron package for our app. If it was developed natively, the performance would've been better.

In any case, I've forwarded your comments to our teams :relaxed:

Badge

It is still leaking and crashing on Windows 10. App from MS Store also have memory leak problem and it keeps crashing several times per day.

If you won’t fix it -- I’ll cancel subscription as soon as Spotify will provide HiFi plan.

Userlevel 7
Badge +7

Hey @Alexey Kapitansky 

Thanks for the honest feedback.

Have you tried the app downloaded directly from us, instead of the store? A fresh install could help you check if the performance is better.

https://www.deezer.com/desktop/download?platform=win32&architecture=x86

Badge

Hey @Alexey Kapitansky 

Thanks for the honest feedback.

Have you tried the app downloaded directly from us, instead of the store? A fresh install could help you check if the performance is better.

https://www.deezer.com/desktop/download?platform=win32&architecture=x86

Yes, I did. App from MS Store (v5.30.30.0) was leaking and crashing several times per working day. Updated to v.5.30.50.0 a day ago, but haven’t used it enough yet. Will return with feedback.

Badge

Hey @Alexey Kapitansky 

Thanks for the honest feedback.

Have you tried the app downloaded directly from us, instead of the store? A fresh install could help you check if the performance is better.

https://www.deezer.com/desktop/download?platform=win32&architecture=x86

Yes, I did. App from MS Store (v5.30.30.0) was leaking and crashing several times per working day. Updated to v.5.30.50.0 a day ago, but haven’t used it enough yet. Will return with feedback.

App v5.30.50.0 crashed. Was listening Flow in HiFi quality.

Userlevel 7
Badge +7

It could be connected to Flow @Alexey Kapitansky that's great feedback! Thank you!

I have the same problem that everyone here, in my case on the website on Windows 10 with Firefox. I usually stream only for a few hours per session, so it doesn't crash my system, but in the task manager the huge memory usage accumulating on Firefox when I'm streaming on Deezer is very visible.

I do have another very strange problem which I think might also be related somehow to this memory leak issue: Since the end of last year, I can't listen to the longest tracks on Deezer anymore. Whenever a track is over 20-minute long (not something unusual in the genres of music I listen to), after the first 2 or 3 minutes it systematically stops with an error message saying that it can't be loaded. If I manually move the cursor further into the track, the same thing happens again after a couple of minutes. That never happens on shorter tracks, so I guess it's due to the weight of the longer tracks. And in fact, the only way I've found to be able to read those long tracks is to reduce the audio quality, if I put it at only 128kb/s instead of 320kb/s, then it works. But it's not a really satisfaying solution…

I've already talked about this problem on the French forum but no one was able to reproduce it, so I'm left alone with it. I've searched on my side and can't see anything that could explain it (the problem doesn't come from my internet connection or anything), so I think maybe it has something to do with this issue or some related cache overload, but I'm not technically savvy enough to understand how and why. I just thought maybe it could be worth trying to report this problem here, I don't know, but excuse-me if you think it's out of subject.

Userlevel 2
Badge +1

I've noticed this problem too on Firefox. Switched to Opera browser helped a bit. 

My guess is that the browser keeps the entire stream in ram and doesn't flush between songs. This is why the problem is more evident on the hifi plan. 

Userlevel 7
Badge +6

Have they done anything about it.

I open Deezer on my Chromebook with 4GB RAM and the computer freezes Deezer web app alone.

It uses all ram in a moment when music started.

So frustrating. I can’t do anything else on the computer.

Other streaming apps work kindly.

Userlevel 6
Badge +5

I can confirm that I too have this issue when listening to Flow and have had for quite some time. It happens on both Linux (Ubuntu) and Windows 10. I usually use Firefox on Linux and either Chrome or  Edge on the Windows machine so it doesn’t appear to be related to a specific browser. 

No it doesn’t seem to be related to a specific browser (though it might be more apparent with Firefox, according to some reports).
It doesn’t seem to be specifically related to Flow either. Personally I never use Flow, but I have this problem too.

To avoid filling the RAM, I now try to close the Deezer tab after I’ve finished listening to an album, or in between albums, and I don’t leave a Deezer tab opened on Firefox when I’m not using it anymore, like I used to do before when I wasn’t aware of this problem.

But for all those who are still unaware, Firefox has implemented a new workaround in its latest update (version 93.0, released 5 October 2021) which doesn’t solve the problem but could help prevent crashes. I quote from the release notes:
“When available system memory is critically low, Firefox on Windows will automatically unload tabs based on their last access time, memory usage, and other attributes. This should help reduce Firefox out-of-memory crashes. Switching to an unloaded tab automatically reloads it.”

I guess Deezer will be one of the first tabs to be unloaded, for its memory usage is abnormally high. But I was reluctant to mention this here, because I’m afraid that Deezer will take it as an excuse to not do anything themselves, though it’s clear that there is a problem with Deezer specifically.

Userlevel 7
Badge +7

I have passed all your feedback and concerns to our developers. They are already investigating and well aware of the issue.
I can’t guarantee any permanent fix straight away, but I’ll keep you posted with any update.
Apologies for the inconvenience and you patience is very much appreciated :nerd:

Userlevel 1

Hello friends,

 

I come to you bearing good news.

The terrible beast of a memory leak has reportedly been slain.

Soon, humble users of the web interface shall no longer fear the dreadful OOM-killer.

 

https://bugzilla.mozilla.org/show_bug.cgi?id=1591722

 

Long live the web interface! Long live Firefox! Long live Deezer!

(Chrome users will be sent to the 9th circle of Hell)

 

Peace

Hallelujah!

Userlevel 1

4 years later: only 14G is used by Chrome:

With the app (https://github.com/aunetx/deezer-linux) there is no problem.

Reply