Roon Server Memory Leak

Roon Core Machine

Running in a VM with 4 vcpus, 8 GB ram, and 32 GB HD.

Networking Gear & Setup Details

No VPN.

Connected Audio Devices

Number of Tracks in Library

8k tracks

Description of Issue

I need restart the VM every day.

What OS are you running? If it’s Linux, the objective is to use as much available memory as possible.

1 Like

I’m using linux.
Good to know that objective.
But when the server reach about 80% all services become very slow.

That’s unlikely to be a memory issue; 8 is plenty for your library, and 4 GB would be sufficient.

Additionally, you’re probably not utilizing all cores–two is sufficient for core–so their specification may be the limiting factor.

That sounds familiar. When RoonServer hits over 13 gb RAM usage, out of 15.8, pages in Roon start to open really slow, or not at all. Roon ARC also starts complaining about bad connections or that something went wrong.

Rebooting my Linux distribution temporarily resolves the problem. Only to return a few days later. RAM usage will continuously creep up.

It also doesn’t matter whether I am using Roon or not. Once the RAM usage passes 13 gb Roon starts going down hill.

My library isn’t that large. About 32.5k tracks.

1 Like

So, are you just saying that if I downgrade my VM everything will work better?

No, I’m saying that additional cores may not be necessary because of the way Roon works, but single thread performance is paramount.

However, you haven’t stated the architecture of the hardware your VM is using. Most likely, this is inadequate for a core (a physical i3 with 2 cores and 4 GB is quite capable of running a small to medium library.)

I suppose there’s a reason Roon recommends running on a separate standalone dedicated computer, and doesn’t officially support VMs.

Maybe the log could show the problem.

https://anonfiles.com//b4Iefbgaz2

Maybe my response in this thread is of help here:

Whether Roon runs in a VM or on baremetal won’t change how much memory Roon needs. If you wanted to, you could try putting Roon in a container and thus save on total required RAM for a running system with Roon on it, but a VM has an entire OS running and thus the VM will be no different than the same OS running non-virtualized (pertaining to memory usage for a Roon Server).

So, if you have a server (VM or physical) with enough resources (RAM, CPU) for a Roon server fitting to your music library, you shall be happy.

How much RAM Roon needs, that depends, and it’s not the same thing as how much RAM the operating system (Linux or Windows) plus any other applications and processes running on that system need along with your Roon server => see the linked post above.

3 Likes

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.