# Discourse installation without SWAP

**URL:** https://meta.discourse.org/t/discourse-installation-without-swap/84735
**Category:** Self-hosting
**Tags:** unsupported-install, server-resources
**Created:** [April 6, 2018, 3:26pm UTC](https://meta.discourse.org/t/discourse-installation-without-swap/84735 "2018-04-06T15:26:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![HU\_Telestem](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@HU\_Telestem](https://meta.discourse.org/u/HU_Telestem)
#### Post date: [April 6, 2018, 3:26pm UTC](https://meta.discourse.org/t/discourse-installation-without-swap/84735/1 "2018-04-06T15:26:50Z")

</div>

Hello,  
are there any way to install Discourse without SWAP, because my VPS uses OpenVZ.  
I will not have too much posts and users, so 2gb of memory maybe enought?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 6, 2018, 3:40pm UTC](https://meta.discourse.org/t/discourse-installation-without-swap/84735/2 "2018-04-06T15:40:22Z")

</div>

You can edit `app.yml` by hand or comment out the part that checks for memory. Discourse will probably run, but will run out of memory when you try to upgrade, or perhaps, do the initial bootstrap.

If you do that and it doesn’t work, don’t be surprised.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 6, 2018, 4:16pm UTC](https://meta.discourse.org/t/discourse-installation-without-swap/84735/3 "2018-04-06T16:16:41Z")

</div>

> [@HU\_Telestem](#):
>
> my VPS uses OpenVZ

We don’t support installs in OpenVZ, you need a KVM compatible VPS.

---

<div class="post-metadata">

### Author: ![HU\_Telestem](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@HU\_Telestem](https://meta.discourse.org/u/HU_Telestem)
#### Post date: [April 6, 2018, 6:07pm UTC](https://meta.discourse.org/t/discourse-installation-without-swap/84735/4 "2018-04-06T18:07:02Z")

</div>

Thank you for the answers, then I failed with OpenVZ

You can close the topic!

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [April 6, 2018, 9:42pm UTC](https://meta.discourse.org/t/discourse-installation-without-swap/84735/5 "2018-04-06T21:42:10Z")

</div>


