[BUG]

Resolved 💬 28 comments Opened Mar 10, 2026 by alexwyattdev Closed Mar 17, 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?

/heapdump
⎿ Failed to create heap dump: EEXIST: file already exists, mkdir 'C:\Users\alexu\Desktop'

What Should Happen?

Show me why memory usage is so high.

Error Messages/Logs

⎿  Failed to create heap dump: EEXIST: file already exists, mkdir 'C:\Users\alexu\Desktop'

Steps to Reproduce

call /heapdump

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.72

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

28 Comments

JuelzIrons · 4 months ago

Im experiencing the same issue

<img width="1091" height="187" alt="Image" src="https://github.com/user-attachments/assets/30be37f4-8b49-4e82-b8e4-afa1585e640c" />

orangutanger1 · 4 months ago

same

benjamin-leitgeb · 4 months ago

same problem here

abdumuslim · 4 months ago

same

Jineeshak · 4 months ago

same

Salvatore-Di-Costanzo · 4 months ago

same

allieseb · 4 months ago

same :)

Periza · 4 months ago

Same.

Rctt27 · 4 months ago

Same

daniellangstack · 4 months ago

same

ankitpandey2708 · 4 months ago

same

fcdiass · 4 months ago

Same problem here. I am using Claude Code CLI version 2.1.72 in Windows.

oancius · 4 months ago

same on windows
Claude Code v2.1.71
Opus 4.6 · Claude Team

<img width="380" height="144" alt="Image" src="https://github.com/user-attachments/assets/b9a900b9-f9f3-46ef-b408-bcfd50243f0a" />

mutrinko · 4 months ago

same.
Windows
Claude Code v2.1.71

samliumay · 4 months ago

same

bonsall · 4 months ago

Same

<img width="1115" height="628" alt="Image" src="https://github.com/user-attachments/assets/d5fbae4f-a904-45da-b892-66a949d842b3" />

Warning appears to be inaccurate as well. I'm seeing a much smaller memory footprint according to my task manager.

<img width="766" height="583" alt="Image" src="https://github.com/user-attachments/assets/8a1cd83a-6a6f-4715-b159-3b7dedf152be" />

szwang · 4 months ago

Thanks for the reports, we're investigating. Is anyone here _not_ on a Windows machine? Want to make sure I understand the scope of impact.

AusDavo · 4 months ago

I'm on Linux, @szwang. Happy to help.

Jineeshak · 4 months ago

I'm on Linux vm @szwang

allieseb · 4 months ago

Seems to be fixed for me in 2.1.72

AusDavo · 4 months ago

I switched to stable from latest version and it stabilised.

leonbloy · 4 months ago
Seems to be fixed for me in 2.1.72

Happens to me on Claude Code v2.1.72, Sonnet 4.6, Windows 11 , Windows terminal

Baeora · 4 months ago

Still having this issue on v2.1.72 Windows, Opus 4.6, Windows Terminal

It might also be VSCode specific @szwang - noticed that the mem usage number it is giving matches my VSCode mem but not any combination of claude instance memories, even though I am not running claude from any VSCode terminal

(If you are wondering why the ~1GB discrepancy, it is transient, sometimes when I tab into process manager it is up to 7.4gb etc then drops down)

<img width="1607" height="543" alt="Image" src="https://github.com/user-attachments/assets/5418704f-b505-4236-9e71-1a2c35b0f730" />

bpcreate · 4 months ago

Also having this issue. version 2.1.72 windows

szwang · 4 months ago

Thanks all! A fix was shipped with 2.1.73 this morning. Does it work now?

AusDavo · 4 months ago

Thanks @szwang. Switched back to latest and now on v2.1.74 and it's chugging along smoothly again.

leonbloy · 4 months ago

Fixed for me with v2.1.74

github-actions[bot] · 3 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.