# Discourse as Your First Rails App

**URL:** <https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751>\
**Category:** Blog\
**Created:** [9 באפריל,‏ 2013,‏ 11:08pm UTC](https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751 "2013-04-09T23:08:33Z")\
**Posts on this page:** 1\
**Showing post:** 105

<div class="post-metadata">

**Author:** ![wlads](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wlads/32/116096_2.png) [@wlads](https://meta.discourse.org/u/wlads)\
**Post date:** [10 במאי,‏ 2015,‏ 7:59pm UTC](https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751/105 "2015-05-10T19:59:39Z")

</div>

Hi guys, I’ve been looking through the install docs and catch a divergence in the first one about vagrant’s default memory:

The [discourse-as-your-first-rails-app](http://blog.discourse.org/2013/04/discourse-as-your-first-rails-app/) states in step 1 - 3: _The VM image we set up defaults to **1 GB** of memory…_

```
Increase the VM memory. The VM image we set up defaults to 1 GB of memory, which makes it friendly to run on 4 GB machines. But this is the practical minimum — performance will be a lot better if you can ramp the VM memory up to 2 GB or even 4 GB. To do so, change your system’s DISCOURSE_VM_MEM environment variable to the desired amount of memory.

```

But the updated Vagrantfile has:

```
# This setting gives the VM 1024MB of RAM instead of the default 384.
v.customize ["modifyvm", :id, "--memory", [ENV['DISCOURSE_VM_MEM'].to_i, 2048].max]

```

Looks like the default now is 2Gb! Just a typo, but is good to keep the docs up to date. 😄  
Regards

---

_[View the full topic](https://meta.discourse.org/t/discourse-as-your-first-rails-app/5751)._
