[BUG] Memory leak on Ubuntu

Resolved 💬 5 comments Opened Mar 15, 2026 by nettsite Closed Apr 13, 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?

There is another similar bug report, but I thought more dump files may be useful.

Memory growth rate: ~100MB every few seconds from startup

What Should Happen?

Memory should not grow when nothing is being done.

Error Messages/Logs

~ $ ps -p 24246 -o pid,rss,vsz,pcpu,pmem,etime,cmd
    PID   RSS    VSZ %CPU %MEM     ELAPSED CMD
  24246 15211056 75293312 25.2 46.6  11:49 claude

Steps to Reproduce

482093d3-a099-43cb-930e-9ce5560b848b-diagnostics.json

482093d3-a099-43cb-930e-9ce5560b848b.zip

Fresh start in home directory, no project, no interaction

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.74

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

Thuis problem is new to me, and version 2.1.74 has been working perfectly up until yesterday.

View original on GitHub ↗

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