[Bug] Excessive memory usage - Claude Code consuming 20GB+ RAM

Resolved 💬 2 comments Opened Mar 18, 2026 by Abnersouza7 Closed Mar 18, 2026

Bug Description
Sometimes Claude code usage is passing 20GB of RAM usage, not entirely sure why, but that happened a few minutes ago and was happening yesterday also, I was able to capture a photo of the btop with Claude code using 22GB of RAM at some point

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.77
  • Feedback ID: 2c6d6d7f-1795-4bb2-a193-35cb3fc366f5

Errors


<img width="3271" height="658" alt="Image" src="https://github.com/user-attachments/assets/5156f66f-bcc9-48aa-9430-24479b1352c3" />

View original on GitHub ↗

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