How much memory does your app use?
Size a VPS around a busy working day, including the database, background jobs and the operating system.
- Written by
- Pevnix
- Published
Follow the workload
Watch memory while the application is doing real work. An idle web process is a poor stand-in for several requests arriving while a worker imports data. Include the database if it runs on the same server.
Look at available memory
Linux uses otherwise idle memory to cache files. A small amount of free memory alone does not tell you the server is struggling. Look at available memory alongside response times and sustained swap activity during busy periods.
Compare the next configuration
If the CPU has spare capacity while workers regularly run short of memory, compare plans with the same vCPU count and more RAM. Repeat the same workload after a change so you can see whether the extra memory solved the original problem.
Use the vCPU and GiB figures on the VPS plan cards to compare memory sizes at the same CPU count.