webcontainer-core
webcontainer-core copied to clipboard
RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
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
-
Open link
-
Wait for running node ./decorate-angular-cli.js
-
Open DevTools, wait for 2 minutes until a lot of wasm libraries loaded
-
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
- [X] I have run the project in my local machine and I could not reproduce the issue.
Screenshots
No response
Platform
- OS: Windows
- Browser: Edge
- Version: 107.0.1418.56 (Official build) (64-bit)
Additional context
No response