← All errors · BoltLovable & Bolt app errors
RangeError: WebAssembly.instantiate(): Out of memory
Exact error
RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance
What it means
Bolt (and StackBlitz) run your project in a WebContainer inside the browser. The browser ran out of memory for WebAssembly, so the preview/runtime cannot start or crashed.
Likely causes
- Too many Bolt or StackBlitz tabs/projects open at once.
- Heavy browser extensions or other memory-hungry tabs.
- A large project or many concurrent embeds on one page.
How to fix it
Close other Bolt/StackBlitz tabs and unused browser tabs, then hard-refresh the project (Cmd/Ctrl+Shift+R).
Restart the browser or device if the error persists, to release cached memory.
Prefer Chrome or another Chromium browser; temporarily disable ad blockers/extensions or try Guest mode if WebContainer still fails to start.
If the preview is blank for a code bug instead of OOM, copy the terminal/console error into Bolt chat — see Bolt's preview troubleshooting docs.
Prevent this next time
- Connect the project to GitHub so every AI edit is versioned and reversible.
- Run `npm run build` locally or in CI before deploying an exported project.
FAQ
What does "RangeError: WebAssembly.instantiate(): Out of memory" mean?
Bolt (and StackBlitz) run your project in a WebContainer inside the browser. The browser ran out of memory for WebAssembly, so the preview/runtime cannot start or crashed.
What usually causes it?
Too many Bolt or StackBlitz tabs/projects open at once. Heavy browser extensions or other memory-hungry tabs. A large project or many concurrent embeds on one page.
How do I fix it?
1. Close other Bolt/StackBlitz tabs and unused browser tabs, then hard-refresh the project (Cmd/Ctrl+Shift+R). 2. Restart the browser or device if the error persists, to release cached memory. 3. Prefer Chrome or another Chromium browser; temporarily disable ad blockers/extensions or try Guest mode if WebContainer still fails to start. 4. If the preview is blank for a code bug instead of OOM, copy the terminal/console error into Bolt chat — see Bolt's preview troubleshooting docs.
Related errors
- Failed to parse source for import analysis because the content contains invalid JS syntax
- Lovable app shows a blank white page after deploying elsewhere
- Too many re-renders. React limits the number of renders to prevent an infinite loop
Get new fixes weekly
No spam. Unsubscribe anytime. Privacy