# Failed new install

**URL:** https://meta.discourse.org/t/failed-new-install/357790
**Category:** Self-hosting
**Created:** [March 18, 2025, 3:39pm UTC](https://meta.discourse.org/t/failed-new-install/357790 "2025-03-18T15:39:06Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [March 18, 2025, 10:59pm UTC](https://meta.discourse.org/t/failed-new-install/357790/4 "2025-03-18T22:59:42Z")

</div>

That is possible. No swap setup.

~~Could you share the command to add a 4g swap. Been awhile since have played around with that.~~

Found this topic working on it. Thanks

> [@Create a swapfile for your Linux server](https://meta.discourse.org/t/create-a-swapfile-for-your-linux-server/13880):
>
> bulb For servers with \<= 4GB of RAM, running ./discourse-setup will prompt for and automatically create a 2GB swapfile. Most cloud virtual machine providers do not set up swapfiles as part of their server provisioning. In particular, upgrading Discourse produces a lot of memory pressure. With a swap file, rather than randomly terminating processes with an out of memory error, things will slow down instead. Having a swap file is a cheap insurance policy that protects you from many other lo…

---

_[View the full topic](https://meta.discourse.org/t/failed-new-install/357790)._
