# I Have an Issue With Swap File (2GB) During Installation

**URL:** <https://meta.discourse.org/t/i-have-an-issue-with-swap-file-2gb-during-installation/57028>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [February 7, 2017, 2:23am UTC](https://meta.discourse.org/t/i-have-an-issue-with-swap-file-2gb-during-installation/57028 "2017-02-07T02:23:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [February 7, 2017, 2:46am UTC](https://meta.discourse.org/t/i-have-an-issue-with-swap-file-2gb-during-installation/57028/2 "2017-02-07T02:46:39Z")

</div>

From the output you provided it would appear that you have a 1 GB swap file, not a 2 GB one as required by Discourse. I’d suggest disabling the existing swap file by running

```plaintext
swapoff /swapfile

```

then running

```plaintext
./discourse-setup

```

again so it can create the 2 GB file. Did you previously set up a 1 GB swap file?

---

_[View the full topic](https://meta.discourse.org/t/i-have-an-issue-with-swap-file-2gb-during-installation/57028)._
