Processes killed by oom-killer; no swap configured.
Physical RAM exhausted with no swap buffer.
free -h # swap row all zerosfallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfileecho '/swapfile none swap sw 0 0' >> /etc/fstabSwap is a pressure valve, not extra RAM: alert before it is used.
Full walkthrough: Ubuntu Out of Memory: Add Swap the Safe Way on the NinjaOps blog.
Spinning up a fresh box to reproduce or escape this error?
Servers with headroomNinjaOps publishes free engineering guides. Some outbound links are affiliate links: they cost you nothing and support the site.
Last reviewed 2026-10-02 · NinjaOps SEO grid · DevOps blog