# Out of memory，how can I solve this problem

**URL:** <https://discourse.threejs.org/t/out-of-memory-how-can-i-solve-this-problem/62039>\
**Category:** Questions\
**Tags:** geometry\
**Created:** [February 28, 2024, 8:57am UTC](https://discourse.threejs.org/t/out-of-memory-how-can-i-solve-this-problem/62039 "2024-02-28T08:57:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chemistwang](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/chemistwang/32/45185_2.png) [@chemistwang](https://discourse.threejs.org/u/chemistwang)\
**Post date:** [February 28, 2024, 8:57am UTC](https://discourse.threejs.org/t/out-of-memory-how-can-i-solve-this-problem/62039/1 "2024-02-28T08:57:46Z")

</div>

Uncaught (in promise) RuntimeError: Aborted(RangeError: WebAssembly.instantiate(): Out of memory: Cannot allocate Wasm memory for new instance). Build with -sASSERTIONS for more info.

 ![Xnip2024-02-28_16-57-07](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/9/8/98942e18b5023be2cb36d835a7de083400bda383.jpeg)

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [March 6, 2024, 5:40pm UTC](https://discourse.threejs.org/t/out-of-memory-how-can-i-solve-this-problem/62039/2 "2024-03-06T17:40:01Z")

</div>

I don’t think we can give you more information based on the screenshot. As the error suggests, you’ve used too much memory, presumably for something that involves WebAssembly. If you’d like help, please share enough details — preferably demo — so that someone else can quickly reproduce the error themselves.

---

<div class="post-metadata">

**Author:** ![Dream](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@Dream](https://discourse.threejs.org/u/Dream)\
**Post date:** [March 8, 2024, 9:35am UTC](https://discourse.threejs.org/t/out-of-memory-how-can-i-solve-this-problem/62039/4 "2024-03-08T09:35:32Z")

</div>

Please, I want to see your works and any experiences here. 🙂  
Please show your solution here.
