Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Claude Code - Memory Allocation Error in SLURM Environment #144

Open
amitlevy opened this issue Feb 26, 2025 · 0 comments
Open

Claude Code - Memory Allocation Error in SLURM Environment #144

amitlevy opened this issue Feb 26, 2025 · 0 comments

Comments

@amitlevy
Copy link

Environment

  • OS: Linux (kernel 6.8.0-52-generic)
  • Node.js: v20.9.0
  • npm: 10.1.0
  • Environment: SLURM cluster (Oxford ARC HTC)

Issue Description

When attempting to run Claude Code on a SLURM cluster login node, I encounter a WebAssembly memory allocation error that prevents the tool from starting.

Error Message

node:internal/process/promises:289
            triggerUncaughtException(err, true /* fromPromise */);
            ^

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

Node.js v20.9.0

Steps to Reproduce

  1. Installed Node.js via environment modules (module load nodejs)
  2. Configured npm to use a custom global directory in a location with sufficient space
  3. Successfully installed Claude Code with npm install -g @anthropic-ai/claude-code
  4. Attempted to run claude command
  5. Immediately received the WebAssembly memory allocation error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant