# Out of memory on rebuild with 4GB swap?

**URL:** https://meta.discourse.org/t/out-of-memory-on-rebuild-with-4gb-swap/392831
**Category:** Self-hosting
**Created:** [6 בינואר,‏ 2026,‏ 11:41pm UTC](https://meta.discourse.org/t/out-of-memory-on-rebuild-with-4gb-swap/392831 "2026-01-06T23:41:29Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [7 בינואר,‏ 2026,‏ 9:57am UTC](https://meta.discourse.org/t/out-of-memory-on-rebuild-with-4gb-swap/392831/3 "2026-01-07T09:57:16Z")

</div>

You have a lot of swap but a great deal is already in use. As a two container setup has less downtime, perhaps it’s true that the current invocation of the server is still running and has clocked up a lot of memory use perhaps due to a leak.

Perhaps a restart would help, before the update. Perhaps measure swap use before and after the restart.

---

_[View the full topic](https://meta.discourse.org/t/out-of-memory-on-rebuild-with-4gb-swap/392831)._
