Hi folks,
I'm encountering an issue while using RStudio Server on a Debian 12 (bookworm) system with multiple users.
After the admin upgraded RStudio Server to version 2025.05.1 Build 513, we noticed that the memory usage displayed in the RStudio memory panel is unrealistically high , typically in the range of 400–500 GB, even when individual sessions are using less than 200 MB (confirmed via /proc/<pid>/status
and pryr::mem_used()
).
Upon investigation, we found that the high memory usage shown in the panel is attributed to the cgroup
memory usage, and it appears that RStudio Server is reusing a shared memory cgroup (/sys/fs/cgroup/memory/USER-abc
, the user id is the rstudio-server user id) across multiple users or sessions.
This leads to misleading memory reports in the UI for each user.
My questions:
- Could this be a misconfiguration or an installation issue?
- Or is this likely a bug or known limitation of the current RStudio Server build?
- Are there any recommended ways to diagnose or isolate per-user memory usage more accurately?
Any guidance or suggestions would be greatly appreciated.
Thanks in advance!