Severe Memory Leak in Claude Code: Process Consumes >20GB and Gets OOM-Killed
savilag · ghdev · 2026-08-08
A developer reported a severe memory leak in Anthropic's coding tool, Claude Code (v2.1.224). During normal coding sessions, the tool's memory usage grows uncontrollably, triggering the Linux OOM (Out of Memory) killer twice on the same day.
Logs indicate that the process consumed 14.5GB and 21.3GB of anonymous RSS memory before crashing. The developer noted that this matches a long-running pattern of memory leak issues in the repository, emphasizing that memory usage should remain within a reasonable range even during heavy file operations.
More from coding & agent
- Dev shares Avi home AI companion internals: device control, memory and full system prompt — aloncarmel · 2026-11-30
- Dev replaces Alexa with a home AI companion built in one hour using OpenAI realtime API — aloncarmel · 2026-11-30
- Microsoft exec explains AI governance with a 4-step closet-cleaning method — donasarkar · 2026-11-30
- Catching steps your AI agent silently skipped: declare required actions per task — Ok-Machine7983 · 2026-11-30
- Rollikey: open-core MCP airlock and LIFO rollback proxy for AI agents — Rollikey · 2026-11-30
- MoonBit 1.0 RC Ships with Stable Compiler, Targeting February 2027 Release — harryshum · 2026-11-30