[BUG] Claude Code v2.1.27 gets stuck on the first message, with very high memory usage.

Status Open
Maintainer reply None cached
Activity 14 comments · opened Jan 31, 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?

Claude Code v2.1.27 gets stuck on the first message, with very high memory usage.

What Should Happen?

Claude Code v2.1.27 gets stuck on the first message, with very high memory usage.

Error Messages/Logs

Steps to Reproduce

Claude Code v2.1.27 gets stuck on the first message, with very high memory usage.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.27

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

14 Comments

github-actions[bot] · 7 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/22200
  2. https://github.com/anthropics/claude-code/issues/22158
  3. https://github.com/anthropics/claude-code/issues/22182

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

shanepadgett · 7 months ago

Definitely some kind of issue going on. Cant switch models, cant do anything.

nsebag · 7 months ago

Same here !

thieung · 7 months ago

Downgrade to previous version temporarily please

Downgrade:

curl -fsSL https://claude.ai/install.sh | bash -s 2.1.25

Disable auto update:
Edit ~/.claude/settings.json

{
  "env": {
    "DISABLE_AUTOUPDATER": "1"
  }
}
joseamijares · 7 months ago

Same for me it gest stuck a lot, and freezes to much

bitkylin · 7 months ago

I encountered this issue as well. After extensive troubleshooting, I discovered that deleting all directories such as ~/.claude/session-env and ~/.claude/projects resolved the problem.

ejc3 · 7 months ago
fix: #22198 (comment)

That’s a work around.

dietrich · 6 months ago

I did /resume /compact and that worked.

hyper-lode · 6 months ago
Downgrade to previous version temporarily please Downgrade: `` curl -fsSL https://claude.ai/install.sh | bash -s 2.1.25 ` Disable auto update: Edit ~/.claude/settings.json ` { "env": { "DISABLE_AUTOUPDATER": "1" } } ``

This is the only thing that solves it for me.

hyper-lode · 6 months ago

ok solved with v2.1.31 for me

cspenn · 6 months ago

2.1.31 did not solve it for me. Still on 2.1.25 as a result.

thieung · 6 months ago
2.1.31 did not solve it for me. Still on 2.1.25 as a result.

Are you using Windows?

cspenn · 6 months ago

She solved it for me was a previous comment - a MASSIVE 3 GB JSONL file in .Claude/projects in one of the subprojects.

find . -type f -size +100M -delete

Found the errant file and nuked it and now things are back to normal.