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
· Titel: RoonServer memory leak — RAM grows to ~15GB within an hour, recurs after both storage-location reset and full database reset
Text:
I'm running into a recurring memory leak in RoonAppliance on Linux (Ubuntu 24.04, RoonServer). Managed heap grows continuously until the process crashes.
Symptoms:
- RoonAppliance process RSS grows linearly, roughly 300+ MB/min
- Log shows Managed-live pinned at 99% of committed, growing steadily (not the normal fluctuating pattern from GC)
- Crashes within 40–50 minutes of startup once RSS reaches ~14–15 GB
- Healthy baseline for this library is normally ~1–2 GB RSS with Managed-live fluctuating 50–80%
History (this keeps recurring):
1. 2026-07-17 — first occurrence, tracked down to orphaned index entries referencing backup files that Roon had once indexed under my music storage location (before an fstab mount change). Fix: remove and re-add the storage location in Settings → Storage. This resolved it — RSS dropped from ~15GB to ~200MB immediately.
2. 2026-07-28 — leak returned after 11 stable days. This time the storage-location reset alone wasn't enough to restore trust in the DB, so I did a full database reset (stopped roonserver, moved Database/SearchIndex folders aside, restarted, re-added storage location, full rescan of ~5,700 tracks).
3. 2026-07-31 — leak returned again after only 3 days, and faster this time (reached 15GB in under 50 minutes vs. ~40+ minutes before).
So a full database reset did not durably fix it, and the recurrence interval is getting shorter, not longer. My working theory is that something in the storage/index layer keeps regenerating references to files that no longer exist (possibly related to filesystem snapshot/backup rotation on my end, though the music folder itself is verified clean via ls/find/mount), but I haven't been able to pin down the actual mechanism from the client side.
Setup:
- RoonServer on Ubuntu 24.04.3, headless Linux
- Library: ~5,700 tracks, local storage only (no NAS-mounted library folder)
- Diagnostics/logs available on request
Has anyone seen this pattern before, or can Roon support pull a diagnostic upload to investigate what's generating these leaked references? Happy to send logs or a diagnostics bundle.
Tell us about your home network
· fritzbox