RoonServer memory blows up, causing play stops and remote disconnection, Ubuntu Server 22.04.3. Started happening a few days after I moved my main Roon server to this new machine from an older, less powerful one. Rebooting the server shrinks memory from high 20GBs to 4GB, which is still a lot more than I saw on the old machine for months (I was monitoring this because other users reported memory blow up). Music library is a clone of the old machine’s.
Roon Core Platform
Linux (NAS/SonicTransporter/Antipodes/Ubuntu/etc.)
Hi! @Fernando_Pereira, thank you for your report. I requested a diagnostics report from your machine and went through. It looks you are having the memory leak problem which we are investigating at the moment
Could you, please, tell me how large is your Database folder in size?
For reference, here’s the output of a script that records logged physical and virtual memory, showing the big blow-up a few days ago. Each drop to baseline is a reboot.
I have same or similar problem after I needed to move to a NUC7i5. I installed Ubuntu 23.04 on this NUC. To manage these memory issues and associated Roon flaws, I made a script that stops and restarts roonserver every night. I would rather like the root cause having fixed.
I didn’t had this issues on my previous NUC6i5 with Ubuntu 18.04.
Got it, thank you, @Fernando_Pereira. Could you, please, put your DB in a zip archive and upload it here? It might be needed for the further investigation.
Just an update here. We could reproduce this one locally and created a ticket for out dev team. I hope the are going to figure out how to resolve this one soon.
Our current understanding of the bug is that it’s a RoonServer issue, which means that before the packaging changes that we introduced in early access build 1310 it was primarily but not exclusively a Linux issue, because most RoonServer installs were on Linux. After those changes it will be a universal issue, so it’s important to us to resolve it before shipping the packaging changes to everyone.
Build 1321 included a change to switch to “workstation” instead of “server” garbage collection mode for RoonServer. This is the same change discussed in this support thread, except built into RoonServer instead of being set via an environment variable: RoonServer High CPU and RAM Usage Ubuntu 22.04 / Roon Remote slow / no response - #37
Please let us know if you notice any change in memory usage or overall performance here.
Graph from my memory script (Ubuntu Server 22.04.3). The big VM drop is after the update. There were several reboots along the way as I updated Ubuntu.