# Failed to Bootstrap due to out of memory

**URL:** https://meta.discourse.org/t/failed-to-bootstrap-due-to-out-of-memory/50252
**Category:** Self-hosting
**Created:** [September 16, 2016, 6:24pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-due-to-out-of-memory/50252 "2016-09-16T18:24:48Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![KevinWorkman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kevinworkman/32/122364_2.png) [@KevinWorkman](https://meta.discourse.org/u/KevinWorkman)
#### Post date: [September 16, 2016, 6:24pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-due-to-out-of-memory/50252/1 "2016-09-16T18:24:48Z")

</div>

I’m trying to create a new Discourse, falling the steps here: [https://www.digitalocean.com/community/tutorials/how-to-install-discourse-on-ubuntu-14-04](https://www.digitalocean.com/community/tutorials/how-to-install-discourse-on-ubuntu-14-04)

I get to the `./launcher bootstrap app` part, and it goes off for about 45 minutes (even though the guide says it should only take 8 minutes), and it comes back with an error:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/9/6936bd4c952ff64cce3bff6a0834e6f5621ac19d.png)

I was originally trying this with the default setup on Digital Ocean of Ubuntu 16.041 x64, but then I noticed that the guide uses Ubuntu 14.04 x64. So I destroyed my droplet and started a new one, but I get the same exact behavior.

In both cases I’m choosing the 1 GB droplet option, which has worked for me in the past. I’ve checked and rechecked and triple-checked my `app.yml` file, and everything seems to be correct.

Has anybody else encountered this error? Has something changed since the publishing of the guide I’m following?

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [September 16, 2016, 6:39pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-due-to-out-of-memory/50252/2 "2016-09-16T18:39:58Z")

</div>

When you use the command `free -m`

Do you have a swap ?

It seems that you don’t have enough memory and it kills the bootstrap

---

<div class="post-metadata">

### Author: ![kuyashi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuyashi/32/82068_2.png) [@kuyashi](https://meta.discourse.org/u/kuyashi)
#### Post date: [September 16, 2016, 6:40pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-due-to-out-of-memory/50252/3 "2016-09-16T18:40:51Z")

</div>

I recommend using Discourse’s official Docker guide:

> <https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md>

You won’t have any issues with the above guide.

---

<div class="post-metadata">

### Author: ![KevinWorkman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kevinworkman/32/122364_2.png) [@KevinWorkman](https://meta.discourse.org/u/KevinWorkman)
#### Post date: [September 16, 2016, 7:44pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-due-to-out-of-memory/50252/4 "2016-09-16T19:44:31Z")

</div>

Ack, following the official Discourse setup guide did indeed work! Now I feel like a bit of an idiot, but maybe this’ll help somebody in the future who stumbles across the (faulty?) setup guide on Digital Ocean.

Thanks for the help!

---

<div class="post-metadata">

### Author: ![kuyashi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuyashi/32/82068_2.png) [@kuyashi](https://meta.discourse.org/u/kuyashi)
#### Post date: [September 16, 2016, 7:45pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-due-to-out-of-memory/50252/5 "2016-09-16T19:45:36Z")

</div>

I agree it is confusing, looks like that article was written in 2014 however 😉

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 16, 2016, 9:06pm UTC](https://meta.discourse.org/t/failed-to-bootstrap-due-to-out-of-memory/50252/6 "2016-09-16T21:06:31Z")

</div>


