[BUG] Out of memory--ubuntu

Resolved 💬 4 comments Opened Mar 7, 2026 by mr-mosconi Closed Apr 5, 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?

CLI dies after a few interactions. Terminal shows "killed". System logs show it's out of memory. This is new.

What Should Happen?

Claude Code CLI should not consume excessive memory and should not die abruptly.

Error Messages/Logs

[488602.604519] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=thermald.service,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/session-1553.scope,task=claude,pid=2141150,uid=1000
[488602.604587] Out of memory: Killed process 2141150 (claude) total-vm:74846352kB, anon-rss:25521320kB, file-rss:3520kB, shmem-rss:0kB, UID:1000 pgtables:76320kB oom_score_adj:0

Steps to Reproduce

Open a new session.
Conduct a few conversations.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.69 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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