High memory usage - native memory leak (119.6 MB/hour)

Resolved 💬 2 comments Opened Jun 22, 2026 by jackwilliampro-coder Closed Jun 26, 2026

Preflight Checklist

  • [x] I have searched existing issues for similar behavior reports
  • [x] This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Other unexpected behavior

What You Asked Claude to Do

• I am experiencing (abnormal session usage, 16% on open, jumping to 90-100%)
•My heapdump results (native memory > heap, 119.6 MB/hour growth)
• I am working on the same software build with consistent behavior
excessive memory usage, 16% just to open it, 90-100% for session end, when it first started, and didn't even perform the action yet..Just jumped to 100 usage and started charging extra usage..

d2ca8d78-a52c-40b0-819a-f816363e76bd-diagnostics.json

What Claude Actually Did

Excessive usage, even though tools, agents, mcp were not being used..this is an abnormal regression, and it's seriously limiting use..

RSS 0.41 GB (peak 0.67 GB) — most memory is native (NOT in the .heapsnapshot)
JS heap 0.06 GB in snapshot
array buffers 0.00 GB not in snapshot
other external 0.05 GB not in snapshot
unaccounted 0.29 GB not in snapshot (code/JIT/stacks/allocator)
⚠ Native memory > heap - leak may be in native addons (node-pty, sharp, etc.)
⚠ High memory growth rate: 119.6 MB/hour

Open the .heapsnapshot in Chrome DevTools → Memory → Load to inspect retainers.

Expected Behavior

More efficient usage..

Files Affected

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

_No response_

Claude Model

Opus

Relevant Conversation

Impact

Critical - Data loss or corrupted project

Claude Code Version

Version 1.14271.0 (c8f4d8)

Platform

Anthropic API

Additional Context

This is a new issue, the past few sessions, excessive usage with simple things.. I have modified my behavior, limited uploads, compacted frequently...before 50% most times..

d2ca8d78-a52c-40b0-819a-f816363e76bd-diagnostics.zip

additionally, I am using the windows desktop app, windows 11 pro. I was unable to find my version using claude --version:
claude : The term 'claude' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • claude --version
  • ~~~~~~
  • CategoryInfo : ObjectNotFound: (claude:String) [], CommandNotFo

undException

  • FullyQualifiedErrorId : CommandNotFoundException

and the /status function also did not work in my chat field on claude code. I am using claude code.
Also, I think your product is amazing, but these bugs really hurt performance and take me down a rabbit hole and I am not a computer scientist. This is very challenging.

View original on GitHub ↗

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