MM5 memory leak ?

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: MM5 memory leak ?

Re: MM5 memory leak ?

by Ludek » Tue Apr 13, 2021 5:43 am

Thanks for reporting,
I see the same with foobar2000 renderer, the utilized memory grows 5 MB per minute!

Will be fixed as https://www.ventismedia.com/mantis/view.php?id=17755 in the upcoming build

The runtime error was moved to viewtopic.php?f=30&t=98782

Re: MM5 memory leak ?

by drakinite » Mon Apr 12, 2021 8:00 am

That is what I'm referring to, yes. So hmm, the extra memory usage is probably something else...

Re: MM5 memory leak ?

by z3huti » Sun Apr 11, 2021 2:59 am

is that what you asking ?

at MM startup it was 15MB but grows after playing to foobar

Image

Re: MM5 memory leak ?

by drakinite » Sat Apr 10, 2021 4:35 pm

z3huti wrote: Sat Apr 10, 2021 3:45 pm btw is it normal that there is 2 MediaMonkeyEngine.exe ?
Yes - On Task Manager, if you enable the "Command line" column, you'll see an instance of MediaMonkeyEngine.exe with --type=renderer and one with --type=utility. I believe that the renderer process spawns the additional utility process(es).


If you have the Debug build installed, could you open the devtools (with Inspect Element), switch to the Memory tab, and let us know how much memory it says it's using in JS? I usually see around 60 MB. (That's of course not the total amount of memory that's being used, but if JS is taking up way more for some reason, we'll at least have some hint as to what could be the culprit.)

Re: MM5 memory leak ?

by z3huti » Sat Apr 10, 2021 3:45 pm

log with almost 30 min of playing to foobar

memory went from 150 at start to ~250

https://drive.google.com/file/d/1Q2oJWt ... sp=sharing

also got this error, its in log somewhere at the end

Image

btw is it normal that there is 2 MediaMonkeyEngine.exe ?

Image

Re: MM5 memory leak ?

by Lowlander » Sat Apr 10, 2021 2:56 pm

I'm unable to reproduce, I've got 2 MM5's running both set to the Playing node. One (the server) is being used by 2 clients to stream from while also playing files locally and memory usage is stable. The other (client w/o library) is streaming from the server and playing to a DLNA speaker, it's memory usage also remains stable.

A mix of MP3 and FLAC is being played untranscoded.

So capturing this in a debug log (step 4b) would likely be really helpful to discover where the problem may lie on your setup: viewtopic.php?f=30&t=86643

Re: MM5 memory leak ?

by z3huti » Sat Apr 10, 2021 2:51 pm

Yes, but even if I dont do anything, MM minimized and playing to DLNA, memory grows.
Just tried playing to foobar and same thing. Flac files, not transcoding.

Re: MM5 memory leak ?

by Lowlander » Sat Apr 10, 2021 12:27 pm

Are you doing other things in MediaMonkey as well? I can't reproduce (with client playing from MM5).

MM5 memory leak ?

by z3huti » Sat Apr 10, 2021 4:05 am

Just playing tracks to DLNA player, over time memory usage grows.
1 hour of playing, almost 500 MB memory usage now

Image
Image
Image

Top