OOM crash on Windows 10 with 8GB RAM since v2.1.89+
Resolved 💬 3 comments Opened Apr 3, 2026 by MatthieuGlemarec Closed Apr 7, 2026
Description
Repeated Bun out-of-memory crashes on Windows 10 (8GB RAM) starting with recent auto-updates. The machine ran Claude Code stably for 3+ weeks prior with no crashes.
Crash output
Bun v1.3.11 (0d72d5a9) Windows x64 (baseline)
Windows v.win10
CPU: sse42 avx avx2
Features: Bun.stderr(2) Bun.stdin(2) Bun.stdout(2) abort_signal(17) fetch(205) jsc spawn(92) standalone_executable yaml_parse(179)
Elapsed: 224670ms | User: 55781ms | Sys: 15250ms
RSS: 1.61GB | Peak: 1.61GB | Commit: 12.91GB | Faults: 1052429 | Machine: 8.47GB
oh no: Bun has run out of memory.
Environment
- OS: Windows 10 Home 10.0.19045 (x64)
- RAM: ~8.5GB
- Claude Code version at crash: v2.1.91 (standalone Bun binary)
- Install method: Standalone binary (
~/.local/bin/claude.exe)
Key details
- Crashes are repeated, not one-off
- No crashes for 3+ weeks of full-day usage on the same machine
- Binary was auto-updated to v2.1.91 on 2026-04-03 — crashes started after recent auto-updates
- Commit: 12.91GB virtual memory with only 8.47GB physical RAM
- Downgraded to v2.1.85 via npm as a workaround, which appears stable
Workaround
Disabled auto-updates (DISABLE_AUTOUPDATER=1 in settings.json env) and downgraded to v2.1.85 via npm install -g @anthropic-ai/claude-code@2.1.85.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗