# "Cannot allocate memory" when upgrading

**URL:** <https://meta.discourse.org/t/cannot-allocate-memory-when-upgrading/44029>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [May 11, 2016, 4:23am UTC](https://meta.discourse.org/t/cannot-allocate-memory-when-upgrading/44029 "2016-05-11T04:23:42Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![prateekvarma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/prateekvarma/32/57928_2.png) [@prateekvarma](https://meta.discourse.org/u/prateekvarma)\
**Post date:** [May 24, 2016, 6:06pm UTC](https://meta.discourse.org/t/cannot-allocate-memory-when-upgrading/44029/20 "2016-05-24T18:06:35Z")

</div>

Just want to add in - making the swap takes an additional around 300 MB of RAM. My total RAM usage for a starting forum is like 1700 MB now.

Discourse does take a toll on the RAM, but i guess it’s worth it.

---

_[View the full topic](https://meta.discourse.org/t/cannot-allocate-memory-when-upgrading/44029)._
