narrow-pencil-46368
11/18/2025, 7:04 PM{"message": "process memory usage is high", "level": "WARNING", "name": "livekit.agents", "memory_usage_mb": 546.0, "memory_warn_mb": 500, "memory_limit_mb": 0, "pid": 119, "job_id": "AJ_6AJvMYrNf3z3", "timestamp": "2025-11-18T19:01:35.164642+00:00"}tall-airline-16756
11/18/2025, 7:04 PMtall-airline-16756
11/18/2025, 7:06 PMmemory_warn_mb), but it hasn’t reached the critical point where the process would be stopped. Think of this as an early nudge to keep an eye on things and maybe tweak your setup a bit.
Here are some friendly steps to help you address this:
• Increase Memory Allocation: Make sure your worker has enough memory. For most voice AI apps, LiveKit suggests starting with 4 cores and 8GB per worker.
• Monitor and Optimize: Take a look at the warning details like current memory usage and the warning threshold to help debug and fine-tune your application.
• Adjust Memory Configuration: You have the flexibility to change the memory thresholds by updating memory_warn_mb (for warnings) and memory_limit_mb (for when the process should terminate).
• Scale Infrastructure: Depending on what your app needs, you might want to scale horizontally by adding more workers or vertically by increasing memory per worker.
If you’d like, I’m here to help you dive deeper into optimizing your setup or understanding those memory usage patterns better. Just let me know!
Sources: livekit-agents/livekit/agents/ipc/supervised_proc.py | agents/src/ipc/supervised_proc.ts | Deploying to custom environments | LiveKit Docs