[BUG] RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance

Resolved 💬 3 comments Opened Jun 10, 2025 by perbinder Closed Jan 6, 2026

Ubuntu
[✔] Zsh config reloaded
➜ NICE ulimit -v
12582912
➜ NICE claude
node:internal/process/promises:394
triggerUncaughtException(err, true / fromPromise /);
^

[RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance]

Node.js v24.1.0
➜ NICE npm uninstall -g claude

up to date in 188ms
➜ NICE which claude
/home/perbinder/.nvm/versions/node/v24.1.0/bin/claude
➜ NICE ls -la /home/perbinder/.nvm/versions/node/v24.1.0/bin/claude
lrwxrwxrwx 1 perbinder perbinder 52 Jun 10 19:06 /home/perbinder/.nvm/versions/node/v24.1.0/bin/claude -> ../lib/node_modules/@anthropic-ai/claude-code/cli.js
➜ NICE npm list -g --depth=0
/home/perbinder/.nvm/versions/node/v24.1.0/lib
├── @anthropic-ai/claude-code@1.0.18
├── @openai/codex@0.1.2505172129
├── corepack@0.32.0
└── npm@11.3.0

➜ NICE npm uninstall -g @anthropic-ai/claude-code

removed 3 packages in 145ms
➜ NICE npm install -g @anthropic-ai/claude-code

added 12 packages in 1s

11 packages are looking for funding
run npm fund for details
➜ NICE claude
node:internal/process/promises:394
triggerUncaughtException(err, true / fromPromise /);
^

[RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance]

Node.js v24.1.0
➜ NICE npm view @anthropic-ai/claude-code

View original on GitHub ↗

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