Skip to content

How much RAM does my VPS need? A practical guide

RAM is usually the first resource a small server runs out of. CPU that is too slow makes things wait, but a server without free memory starts swapping or the kernel kills processes, and your site goes down. The good news: most projects need less than people expect, and on DataPasa you pay by the hour, so trying a plan and moving to a bigger one later costs very little.

What uses memory on a VPS

  • The operating system. A minimal Ubuntu or Debian server uses a few hundred megabytes after boot.
  • Your application runtime. PHP-FPM workers, Node.js, Python or Java processes. Java and Node.js tend to need the most.
  • Databases. MySQL, MariaDB and PostgreSQL use RAM as cache. More memory means fewer disk reads.
  • Page cache. Linux keeps recently read files in free memory. It is released when programs need it, so "used" memory that is really cache is not a problem.

The DataPasa VPS plans

PlanvCPURAMNVMe diskTraffic
VPS-111 GB16 GB1 TB
VPS-212 GB32 GB32 TB
VPS-324 GB64 GB32 TB
VPS-448 GB128 GB32 TB
VPS-5612 GB192 GB32 TB
VPS-6616 GB256 GB32 TB
VPS-7824 GB320 GB32 TB

Current prices are on the pricing page.

Sizing table by workload

These are practical starting points for a single project on one server. Busy sites, many users or several projects on one VPS need more.

WorkloadRAM to start withPlan to start with
Static site, small reverse proxy, personal bot1 GBVPS-1
WordPress or another PHP site with MySQL, low traffic2 GBVPS-2
WordPress or WooCommerce with steady traffic4 GBVPS-3
A few Docker apps with Compose (monitoring, wiki, password manager)2 to 4 GBVPS-2 or VPS-3
AI agent such as OpenClaw with a cloud model2 GBVPS-2
Node.js or Python API with a database2 to 4 GBVPS-2 or VPS-3
GitLab, Nextcloud with many users or other heavy web apps8 GBVPS-4
Several production sites and databases on one server8 to 16 GBVPS-4 to VPS-6
Local 7B language model through Ollama8 GB or moreVPS-4 or larger
Celestia light node1 GBVPS-2
LND Lightning node with Neutrino2 GBVPS-2
Pruned Bitcoin Core node2 GB, 4 GB for a faster first syncVPS-3
Pruned Monero node4 GB, more disk than RAMVPS-5

Two notes about the table:

  • Disk can decide the plan, not RAM. A pruned Monero node needs only about 4 GB of RAM, but around 110 GB of disk, which is why VPS-5 is the fit. Check disk needs as well.
  • Traffic matters for nodes and downloads. VPS-1 includes 1 TB per month. A Bitcoin node downloads the whole chain once, which is more than that. Other plans include 32 TB.

For step by step setups see the guides for a pruned Bitcoin node, a Monero node and OpenClaw.

Minecraft is a separate product

For a Minecraft Java server you do not need to size a VPS at all. DataPasa game servers come with the Pterodactyl panel and plans with 2, 4 or 8 GB of RAM. See how to order a game server.

How to check real memory usage

After your project runs for a day, look at the actual numbers:

bash
free -h

Look at the available column, not free. Available includes cache that Linux can release at any moment. If available memory stays above 20 to 30% of the total under normal load, the plan fits.

To see which processes use the most memory:

bash
ps aux --sort=-%mem | head -n 10

For Docker containers:

bash
docker stats --no-stream

Signs that you need more RAM:

  • dmesg or journalctl -k shows Out of memory: Killed process.
  • The server is slow and swap usage keeps growing in free -h.
  • Your database restarts under load.

Add swap as a safety net

Swap is disk space used as overflow memory. It is much slower than RAM, but it can prevent a crash during a short spike, for example while apt or a build runs. Check whether swap exists with swapon --show. To add a 2 GB swap file:

bash
fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstab

Swap is a cushion, not a replacement. If the server uses swap all the time, move to a bigger plan.

Start small, grow when needed

  • Start one plan lower if unsure. Billing is hourly with no contract or minimum term, so testing costs little.
  • Watch it for a few days. Real usage beats any table.
  • Move up when the numbers say so. Set up the new server, move your data, then delete the old one to stop its billing.

Not sure which plan fits your project? Write to support@datapasa.com with what you plan to run and we will suggest one.

Summary

For most personal projects 2 to 4 GB of RAM is enough, with VPS-2 and VPS-3 as the usual starting points. Heavier web apps and multi site servers need 8 GB and up, and blockchain nodes are often limited by disk and traffic more than by memory. Measure with free -h, keep a small swap file as a cushion and upgrade when the numbers tell you to.