How to fix the "Out of memory: wasm memory" error?
If you encounter the following error RangeError: WebAssembly.instantiate(): Out of memory: wasm memory, this is related to a memory limitation in the cPanel terminal.
We recommend running your command directly via SSH, which should resolve the issue as you will then have access to all the available memory on your server.
Updated on: 14/02/2026
Thank you!