process memory usage is highi
# ask-ai
b
process memory usage is highi
t
Thanks for reaching out, Bikraj. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Acknowledged — you're seeing high process memory usage. To help quickly, I need a few details: 1. Which LiveKit process is high on memory? (e.g.,
livekit-server
,
livekit-router
, or an SDK process in your app) 2. Environment: OS, container/VM, cloud provider, and LiveKit version. 3. Approximate memory usage and when it started (RSS/heap in MB or %). 4. Any recent changes (config, version upgrade, load increase, new features). 5. Repro steps or pattern: steady growth, spikes during joins, after long calls, or when screen-share/video enabled? 6. Logs or metrics you can share (heap profiles, pprof, /metrics Prometheus output). If you can run a heap/profile, tell me and I’ll give the exact command to collect it. Provide these and I’ll recommend targeted next steps (quick mitigation and diagnostic commands).
b
livekit.agents
t
Thanks — you're seeing high memory usage for the livekit.agents process. To diagnose and help quickly I need a few details: 1. Host environment: OS, container/VM, or cloud provider, and LiveKit version. 2. Approximate memory numbers (RSS/heap in MB or %), and when this began. 3. Pattern: steady growth (memory leak), spikes on joins, or during specific actions (screen share, recording, bots)? 4. Recent changes: config, deployment, version upgrade, or increased load. 5. Logs/metrics you can share:
/metrics
Prometheus output, agent logs, or a pprof/heap profile. If you can collect a profile, tell me and I’ll give the exact command to run. 6. How many agents/rooms/participants are active when the issue occurs. Provide those and I’ll suggest targeted mitigation steps and exact diagnostic commands.