[BUG] Claude Code Memory leak after startup
Resolved 💬 6 comments Opened Apr 20, 2026 by Zeoy2020 Closed Jun 12, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
After starting ClaudeCode, the process exhibits a consistent memory leak. Monitoring shows memory usage increasing at a rate of approximately 30MB per second. This continues until system resources are exhausted. The issue is reproducible across multiple restarts.
Only on vscode integrated terminal
What Should Happen?
nothing
Error Messages/Logs
Steps to Reproduce
Launch ClaudeCode.
Observe memory usage via system monitor or profiler.
Note that memory consumption grows steadily at ~30MB/s.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.113 (Claude Code)
Platform
Other
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗