[BUG] OOM caused by software update of claude code

Resolved 💬 3 comments Opened Apr 12, 2026 by ThinkerYzu Closed Apr 15, 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?

The RSS of Claude Code keeps growing until OOM. I suspect it is downloading new Claude Code in background. The proof is an empty file of new version under ~/.local/share/claude/versions/. Once I download the new version manually or through the script provided on the web site, the problem is gone.

What Should Happen?

should not oom

Error Messages/Logs

OOM

Steps to Reproduce

Run claude and leave there when a new version is available.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.101

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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