VPS with 64 GB RAM: when a large virtual server makes sense and how to check it
Sixty-four gigabytes is already a noticeable slice of a physical server: on a typical virtualisation node with 256–512 GB, such a machine takes an eighth or a quarter of the memory. That is why a VPS with 64 GB RAM behaves differently from small plans: the host determines not just the amount but also how the machine is placed on the hardware. Take a server like this for a specific workload you can measure, not "to grow into".
Workloads that really need 64 GB
- Caches and in-memory stores. Redis or Memcached with tens of gigabytes of data: sessions, queues and counters of a large service. For Redis, keep in mind that saving a snapshot via fork during a write peak can temporarily double memory usage; more in the VPS for Redis section.
- Databases of hundreds of gigabytes, where the working set (indexes and active tables) reaches 40–50 GB.
- Search and logs. An Elasticsearch or OpenSearch node with a 31 GB heap (the JVM won't go higher without losing compressed pointers) and an equal share of memory for the file cache is the classic configuration made precisely for 64 GB.
- 70 billion parameter language models in 4-bit quantisation: the model takes about 40 GB. On the CPU it responds slowly, so such a server suits batch text processing rather than chat.
- One-off heavy jobs: recalculating analytics, migrating a large database, building a big monorepo, processing a dataset.
A common mistake is taking 64 GB for a project that needs horizontal scaling rather than memory. A web application with growing traffic usually hits limits in the CPU and the database, and two or three 16 GB servers behind a load balancer are more reliable than one big machine: if one node goes down, the service keeps running. A single large VPS makes sense where the data can't easily be split: one shared cache, one database, one index.
Cores, memory bandwidth and NUMA
64 GB usually comes with 8–16 virtual cores and disks from 500 GB to several terabytes. At this size not only capacity but also memory speed matters: analytics and AI model inference are limited by bandwidth, which depends on the CPU generation and the number of channels. Server platforms with many memory channels, such as VPS on AMD EPYC, have a clear advantage over desktop ones here.
The second quirk is NUMA. A machine with 64 GB and 16 cores is often spread across two physical processors, and accessing the "other" processor's memory is slower. Check lscpu and numactl --hardware: if there are two nodes, run the database with numactl --interleave=all or enable the NUMA settings in the software itself.
What to check in the plan and after purchase
- Virtualisation type and guaranteed memory. At this size only KVM or an equivalent with fully dedicated memory will do. A 64 GB container with burst is almost certainly an oversold node.
- Ballooning and MemTotal. The value in
/proc/meminfoshould match the plan and not change over time. - Actually filling it. The
stress-ng --vm 8 --vm-bytes 58G --timeout 300stest should not cause an OOM, dropped SSH sessions or steal rising above a few per cent. - Memory speed.
sysbench memory --memory-block-size=1M runor STREAM: a result several times lower than expected for the stated CPU points to an overloaded node. - Snapshots and backups. Find out whether the host takes snapshots that include memory state: for a 64 GB machine that means minutes of downtime, so it's better to schedule them at night.
Swap and OOM on a large server
A large swap is useless here: if a service has run out of 64 GB, disk speed won't save it. 4–8 GB is enough as a buffer for short peaks. It is far more important to protect the key process: set OOMScoreAdjust=-900 for the database in its systemd unit file, and give auxiliary services MemoryMax=, so that if something leaks the kernel terminates them rather than the main service.
VPS, dedicated server or GPU
If the machine is needed permanently and loaded around the clock, a physical server with 64–128 GB often costs no more and frees you from neighbours: compare the options in the dedicated servers section. A VPS is better value for temporary tasks: plans with hourly billing let you spin up a big machine for a day of computation and then delete it. And for AI models where response speed matters, 64 GB of ordinary memory loses to a server with a GPU, even one with less RAM.