Our first Coolify build on a 1 GB droplet peaked at 720 MB of RAM plus 669 MB of swap. Idle, Coolify itself used 252 MB across six containers. The builds are what need the memory.
The checklist
- Check what you have:
free -m. If the Swap line says 0, add it before deploying anything. - Add a 2 GB swap file:
fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstab
- Check again:
free -mshould show about 2 GB of swap. Timed on 10 Oct 2026 on our 1 GB Ubuntu 24.04 droplet (ext4): fallocate 0.01 s for 1 GB, mkswap 0.01 s, swapon instant. - If
swaponcomplains about holes (some filesystems), recreate the file withdd if=/dev/zero of=/swapfile bs=1M count=2048(1 GB took 4.12 s on ours). Nevercportruncate. - Prefer building somewhere else (a CI build or a pre-built image) if the server will run several apps.
Five days later: how much swap a 1 GB server really uses
On 7 Oct 2026 our 1 GB droplet running Coolify, n8n and Uptime Kuma had 991 MB in swap after 5 days, with no out-of-memory kills. To see which processes are in swap on yours:
for p in /proc/[0-9]*; do awk -v c="$(cat $p/comm)" '/VmSwap/{if($2>10240)print $2, c}' $p/status; done | sort -rn | head
The numbers per container: Can a 1 GB VPS run Coolify, n8n and Uptime Kuma?
The full test
- How to add swap on Ubuntu 24.04, timed (and why Docker builds need it)
- Can a 1 GB VPS run Coolify, n8n and Uptime Kuma? What 5 days of swap showed
- Can Coolify run on 1 GB of RAM? The docs versus what we measured
- Deploy Coolify on a $6 VPS in 15 minutes
The starter kit adds the swap file (sized for the machine) along with the rest of the first-hour setup. Pay what you want.