I replied to @Daiyama who said he was using a small library. I have ~10,000 tracks stored locally on a 2TB NVMe PCIe M.2 2280 SSD in an external Thunderbolt 3 enclosure.
I guess you think us folks with libraries that we can actually listen to in our lifetimes should not be contributing…
I think it’s also the case that the more data the better, because there’s clearly something odd about Daiyama’s system. For example, I have about 195K tracks and my memory usage (after running my core for just over three days) is 6.05 GB. My database folder size is a lot larger that wizardofoz - around 25GB - but I imagine this is down to local artwork.
Short version: the fact that Daiyama’s core is using 9GB after just one and a half hours of use is anomalous.
@Daiyama, we are aware of an issue which may be causing the behavior that you are observing. We don’t have a permanent fix yet, but do have a workaround which should solve the problem. Please perform the following steps on your core:
In that folder you will find three subfolders. Delete the one named orbit_v3.db
Start Roon back up
We’ve found that we have a housekeeping process that is misbehaving and leaking memory once it gets into a bad state. Deleting that folder will reset that component back to its default state and get it back into a good state. This will have no impact on any part of your music library or configuration of your Roon system.
Please give that a try and let us know if it works.
This also seems to be helping with my memory leak. Nowhere near as fast as @Daiyama’s, but annoying nonetheless. One quick question though: you mentioned that there should be three subfolders in Database → Orbit, but I only have one, i.e. orbit_v3.db. I presume this isn’t indicative of a problem?
I had Covid last September - it took me about 3 months to get rid of the brain fog.
As for the folder: since deleting it yesterday RAM usage has varied between 4.8 and 5.4 GB, but it always drops back down to 4.8. There may well be something I’ll do that will trigger Roon to leak again, but for now it’s looking good.
Hi Andrew,
thanks for this workaround.
Worked for me, I started at 1.18 GB and I am after 6 hours at 1.4 GB. So let‘s see how this develops over the week.
So happy I found this, runs Roon 1.8 Build 918 on a 2014 Mac Mini i7 16GB memory, only had this issue post I upgraded to Monterey, was miserably dealing with track skipping, remote disconnect/reconnect for almost a week
Deleted the orbit folder per instruction and been hours running rock solid, it won’t stand >5min without track stopping and lost connection prior to this