RAM sizing by workload
WordPress sites with caching can run on 1 GB RAM. Node.js or Python API backends typically need 1–2 GB. MySQL or PostgreSQL databases perform better with 2 GB or more. Docker hosts and multi-service setups need at least 2–4 GB to avoid swapping.