# JavaScript heap out of memory due to Ember CLI

**URL:** <https://meta.discourse.org/t/javascript-heap-out-of-memory-due-to-ember-cli/217258>\
**Category:** Self-hosting\
**Created:** [February 6, 2022, 3:54pm UTC](https://meta.discourse.org/t/javascript-heap-out-of-memory-due-to-ember-cli/217258 "2022-02-06T15:54:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [February 7, 2022, 8:02pm UTC](https://meta.discourse.org/t/javascript-heap-out-of-memory-due-to-ember-cli/217258/4 "2022-02-07T20:02:08Z")

</div>

My latest rebuild also failed with a 1GB digital ocean droplet. I think I need to temporarily(?) resize to 2GB, but I’ve `./launcher restart app` and restarted the pre-rebuild version while I mull it over. Not sure if that’s any help?

```plaintext
root@test:/var/discourse# free -h
              total used free shared buff/cache available
Mem: 976Mi 753Mi 80Mi 29Mi 142Mi 64Mi
Swap: 2.0Gi 131Mi 1.9Gi

```

---

_[View the full topic](https://meta.discourse.org/t/javascript-heap-out-of-memory-due-to-ember-cli/217258)._
