Roon server consuming all RAM on inactive mini-PC (ref#QMIOBD)

Hi! What’s not quite right with Roon?

· None of the above quite fits

None of the above quite fits

· None of these quite match

Tell us what's going on

· I’m running Roon server on a mini-pc and for some [moderated] reason, my installation keeps consuming all my RAM even though I have no currently active subscription and thus, no music is playing / no activity for the software what so ever.......

or am I wrong to think that???
What are you doing with my mini-pc since your software should be dormant? :)

Tell us about your home network

· I have a basic router and I use Wireguard to connect back to my network for ARC (when I had the subscription active), even so, that doesn't count towards your app consuming all my RAM :D:D

If you have Roon Server running it will always load the database into memory, which is what most of the allocated RAM will be used.

As you no longer have a Roon license (not using Roon) I’d suggest adjusting your system so that Roon Server is not automatically started.

It will still take a little disk space of course but no RAM.

sudo systemctl disable roonserver

Adding to Carl’s answer, one thing worth knowing is that high RAM usage on an otherwise idle machine is often not the problem it appears to be. Roon Server loading its database into memory is by design, and on Windows and Linux memory that is mapped but not under pressure gets released when something else needs it, so a task manager showing most of the RAM in use is not the same as the machine being short of RAM. What matters is whether you see actual swapping or slowdown. That said, if you are not using Roon at all, stopping it from auto-starting is the right move. On Windows that is done by setting the Roon Server service to Manual in services.msc rather than uninstalling, so your database stays intact for whenever you resume a subscription. On Linux it is a systemctl disable on the roonserver unit. Either way, take a backup of the database first if you have any library edits, playlists, or tags you care about, since those live in the database rather than in your music files. If you do stop the service and RAM usage stays high, then something else on the mini-PC is the culprit and that is worth chasing separately.

Hello @Helen_Marsh

Carl, MusicD and Helen have this right, so there is nothing to add from our side beyond confirming it.

Roon Server loads its database into memory by design, and that accounts for the allocation you are seeing. On an otherwise idle machine that is not a shortage: mapped memory that is not under pressure is handed back when something else needs it, so a task manager showing most of the RAM in use is not the same as the machine running out. What would matter is actual swapping or a slowdown, and neither has been mentioned.

Since you are not using Roon at the moment, stopping the service from starting automatically is the right answer, and that is what the replies above cover. If you tell us which operating system the mini-PC runs, we will give you the exact step for it.

We are closing this one, and if anything changes please reply here and it will reopen.