webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

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

Open Lonli-Lokli opened this issue 2 years ago • 14 comments

Describe the bug

I am trying to use Nx+Angular with WebContainer but it does not work

Link to the blitz that caused the error

https://stackblitz.com/edit/nx-standalone-angular?file=decorate-angular-cli.js&preset=node

Steps to reproduce

  1. Open link

  2. Wait for running node ./decorate-angular-cli.js

  3. Open DevTools, wait for 2 minutes until a lot of wasm libraries loaded

  4. Failed with error

    Uncaught (in promise) RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
    

Expected behavior

No errors

Parity with Local

Screenshots

No response

Platform

  • OS: Windows
  • Browser: Edge
  • Version: 107.0.1418.56 (Official build) (64-bit)

Additional context

No response

Lonli-Lokli avatar Nov 28 '22 11:11 Lonli-Lokli