How do I fix the "Out of memory: wasm memory" error?
If you get the following error RangeError: WebAssembly.instantiate(): Out of memory: wasm memory, this is related to a memory limitation in the cPanel terminal.
We recommend re-running your command directly over SSH; this should fix the issue, since it gives you access to all of your server's free memory.
Updated on: 17/07/2026
Thank you!