How Much RAM Does a Small VPS Need? Measure Before You Upgrade
A small website can run comfortably on a modest VPS—or run out of memory when the database, application and a scheduled task peak together. The right size depends on your software and workload. One quiet reading, or a plan's headline RAM figure, cannot tell you the answer. This guide shows how to collect a few read-only observations on a Linux VPS. It does not change memory limits, stop services or create swap. The sample numbers are illustrative, not measurements or a sizing recommendation. On a narrow screen, scroll long code blocks sideways to see the full line. 1. Record memory at several useful moments On the VPS itself, run: free -h For example, a hypothetical quiet-period result using the current procps definition of used might look like this: total used free shared buff/cache available Mem: 1.9Gi 1.3Gi 120Mi 20Mi 700Mi 620Mi Swap: 1.0Gi 100Mi 924Mi The small free nu...