[BUG]

Resolved 💬 2 comments Opened Mar 12, 2026 by Dbheiwk Closed Apr 9, 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-bug-report.md

What Should Happen?

Its simply taking lots of ram for no reason and keeps growing

Error Messages/Logs

Steps to Reproduce

  1. Start a new Claude Code session (v2.1.72, Node v24.3.0, macOS Darwin

25.3.0)

  1. Have a normal conversation with tool calls (file reads, bash commands, git

operations)

  1. Run /heapdump after ~7 minutes — heap is 4.8 GB (3.5 GB in ArrayBuffers)
  2. Run /heapdump again at ~12 minutes — heap is 9.0 GB (7.8 GB in

ArrayBuffers)

  1. Exit with Ctrl+C and start a fresh session — issue persists immediately
  2. Memory growth rate measured at ~42 GB/hour, dominated by ArrayBuffers

(>85% of heap)

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.72

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Warp

Additional Information

<img width="732" height="90" alt="Image" src="https://github.com/user-attachments/assets/59a3defe-469f-4e89-9fd4-77d5c2a7349a" />

View original on GitHub ↗

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