High memory usage on short session + heapdump fails on Windows
Resolved 💬 3 comments Opened Mar 13, 2026 by anton-expertstudio Closed Mar 17, 2026
Environment
- Claude Code 2.1.74
- Node v25.8.0
- Windows 11 Pro 10.0.26200
- OneDrive disabled
Issue 1 — Memory leak
Memory usage climbs rapidly on a short, simple conversation. Hit 3.9GB within minutes, continued climbing to 4.2GB+ with no large file reads or complex operations.
Issue 2 — Heapdump broken on Windows
/heapdump fails with:
Failed to create heap dump: EEXIST: file already exists, mkdir 'C:\Users\<user>\Desktop'
Desktop folder exists and registry User Shell Folders\Desktop is correctly set to C:\Users\<user>\Desktop. Appears the heapdump code is calling mkdir without recursive: true, causing it to fail when the directory already exists.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗