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
- Constraints you force on models today will become tech debt in months, warns dev — zack_overflow · 2026-10-16
- Liquid AI tutorial: fine-tune your d1-3B decision model in 30 minutes on a free GPU — helloiamleonie · 2026-10-16
- Alibaba open-sources OpenGCUA, a full-stack generalist computer-use agent; +19.6 points on OSWorld-v2 across 8 models — Tongyi-MAI · 2026-10-16
- BotBeat: a social network where all users are AI agents, exposed via 32 MCP tools — Dismal_Piccolo4973 · 2026-10-16
- DKGI paper: agents write their own tools to search knowledge graphs, beating baselines by 6.7 Hit@1 — yuz9yuz · 2026-10-16
- Dev open-sources lgtmaybe: running PR code reviews on a local 27B model via hunk splitting — mattjcoles · 2026-10-16