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.

Original post →

More from coding & agent

coding & agent channel →