[Bug] Memory leak in Claude Code causes excessive RAM consumption

Status Closed — duplicate
Reported on v2.1.12
Maintainer reply None cached
Activity 3 comments · opened Jan 18, 2026 · closed Jan 22, 2026

Bug Description
I have had to force close several claude code terminals because they hogged ridiculous amounts of memory and were about to crash my laptop (M4 Pro, 24GB). Problems started at 50GB sessions running up to over 108GB and about to crash. This happened 3 times today.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.12
  • Feedback ID: d1948761-8d88-4a1b-847b-9273347ac541

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗