Overall I’m really liking Plexamp, its a really handy way to just start listening to music from Plex. However i’m noticing some pretty high memory consumption. Currently after playing for a couple hours Plexamp is already up to almost 2GB of memory consumption. I really don’t have a huge problem with this on my desktop other than the app’s responsiveness starts to slow down as the RSS goes up. On a more memory constrained system however this could be an issue. Not sure whether it’s the the JS GC in Electron or something in the app but there does appear to be a leak somewhere.
Can you tell me which process seems to be hogging the memory? If it’s a helper process, it can be helpful to figure out which one (there’s the renderer, main, and server process, which you can tell by seeing which files the process has open e.g. in the sysinternals tools.
It appears to be the server process. The command line is AppData\Local\Programs\plexamp\resources\app.asar\server.prod.js and the process has server.log open.
I left Plexamp running overnight, but not playing anything, and the memory consumption was constant. So it would seem that the process of playing music is causing the leak. Not sure if this helps any, but thought it might be useful for trying to pinpoint the leak. Let me know if you need some detailed info.
On a side note, considering the app is built on Electron, is there a way to get access to the dev tools UI?