white-room-9349
10/31/2025, 6:22 PMtall-airline-16756
10/31/2025, 6:22 PMtall-airline-16756
10/31/2025, 6:23 PMmemoryWarnMB and memoryLimitMB settings in your configuration to better fit your workload. For instance, setting memoryWarnMB to 1024MB and memoryLimitMB to 2048MB often works well for standard applications.
• Another helpful step is to optimize memory use by choosing lightweight options for short tasks, like using rtc.AudioStream instead of RecorderIO.
• Also, keep an eye out for any potential memory leaks in your agent code and try to optimize how resources are used.
If you’d like, I’m here to help you with configuration or debugging—just let me know! Sources: Deploying to custom environments | LiveKit Docs | pkg/stats/monitor.go | Capturing the First Few Seconds of a Call for Processing | Node.js Agents Architecture | livekit/livekit_composite | DeepWiki | utils/hwstats/memory_linux.go