[BUG] Memory leak after changing to 2.1.17 Native on OSX
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?
It seems to be a memory leak in 2.1.17 Native. I changed from npm to native and this happens since.
OSX Tahoe 26.2. MBP M1 16GB.
Starts up fine (as per screenshot) but then /resume maxes memory and it, and the system, lock up.
❯ /doctor
Diagnostics
└ Currently running: native (2.1.17)
└ Path: /Users/chris/.local/share/claude/versions/2.1.17
└ Invoked: /Users/chris/.local/share/claude/versions/2.1.17
└ Config install method: native
└ Search: OK (bundled)
Updates
└ Auto-updates: enabled
└ Auto-update channel: latest
└ Stable version: 2.1.7
└ Latest version: 2.1.17
Version Locks
└ 2.1.17: PID 80787 (running)
<img width="1821" height="496" alt="Image" src="https://github.com/user-attachments/assets/4126b447-32d1-4d8b-96d8-8e71b381683d" />
<img width="1810" height="422" alt="Image" src="https://github.com/user-attachments/assets/102fe73f-3f13-45d8-821b-3918ce60fa66" />
What Should Happen?
It should not lock up and memory should not sustain at max.
Error Messages/Logs
Steps to Reproduce
Open Claude 2.1.17 Native on OSX and /resume
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.14
Claude Code Version
2.1.17
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗