Choosing & sizing

How much RAM does a VPS need?

Short answer

Match RAM to the workload, not to a price tier. 1 GB runs a VPN, DNS resolver or small bot. 2–4 GB runs a small website with a database. 8 GB is the comfortable floor for a production application or Docker stack. 16 GB and up is for CI, large databases, Magento or heavy crawling.

RAM is the resource that fails hardest when it runs out: the kernel OOM killer terminates whatever it judges most expensive, which is usually your database. CPU exhaustion makes things slow; memory exhaustion makes things stop.

Operating system baselines matter at the low end. Alpine idles at roughly 80 MB, Debian at about 120 MB, Ubuntu at about 250 MB and Windows Server at roughly 1.5 GB. On a 1 GB instance that choice determines how much is genuinely yours.

RAM by workload
WorkloadMinimumComfortable
WireGuard VPN, DNS, Tor relay512 MB1 GB
Static site or small blog1 GB2 GB
WordPress with database2 GB4 GB
Docker stack with Postgres4 GB8 GB
Minecraft, 10–20 players4 GB8 GB
Matrix Synapse, federated4 GB8 GB
CI runner, monorepo8 GB16 GB
Magento 2 in production8 GB16 GB
Windows Server + application4 GB8 GB