claude-code
claude-code copied to clipboard
[BUG] CC very slow and make my computer very slow too - CC config file too big (600KB)
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?
The .claude.json get filled by junk and become bigger and bigger and when it's too big it makes my whole computer freeze, lag, and unresponsive when using CC.
Renaming .claude.json to .claude.json.old to make him disappear, launching CC to create a new .claude.json automatically, now it's running fine (and the .claude.json is 32KB for now) I think he is filled by the history and idk why it makes CC and my computer running slow and lag.
What Should Happen?
The computer should run smooth and the .claude.json shouldn't become that big (it shouldn't retain the whole history)
Error Messages/Logs
Steps to Reproduce
- Use claude code for a long time
- The computer will become slow
- Renaming .claude.config solve the issue
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.0.25
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
I'm on windows on ARM (snapdragon x elite), 16Go of RAM