How much RAM does a self-hosting VPS need?
Size a self-hosting VPS by memory, not CPU: real minimums for n8n, Activepieces and Open WebUI, how to add them up, and 2026 prices for 4 GB and 8 GB plans.
When a self-hosted app falls over on a small VPS, the cause is almost always memory. CPU on a quiet server is mostly idle; disk is cheap; but when RAM runs out, Linux kills a process, and the one it picks is often the app you care about. So size the server by memory first. This post uses the memory minimums the Keenrig catalog records for each app, which is where these numbers come from rather than guesswork.
What each app needs
Every Keenrig catalog manifest carries a min_memory_mb field. It is shown in the App Store, and it becomes the app’s default memory limit when you install it (you can raise it in the install dialog). Current values:
- Open WebUI: 2,048 MB — the embedding model for document search runs inside the container.
- Activepieces: 1,536 MB.
- n8n: 1,024 MB — it sits at about 700 MB idle.
- Zipkin: 512 MB.
- Nginx, Caddy (static) and Whoami: 64 MB each.
These are floors for light use, not ceilings. An n8n workflow that loads a large file into memory, or ten people using Open WebUI’s document search at once, will use more.
Add it up, then add headroom
The operating system, Docker, the reverse proxy and Keenrig itself need memory too, and you want room for spikes. A simple rule: add the minimums of the apps you plan to run, then add at least 1 GB, and round up to the next plan size.
- n8n alone: 1 GB + headroom → 2 GB works; 4 GB is comfortable.
- n8n + Activepieces: 2.5 GB + headroom → 4 GB.
- Open WebUI + n8n: 3 GB + headroom → 4 GB, tight; 8 GB if several people use document search.
- n8n + Activepieces + Open WebUI + a couple of small apps: about 4.7 GB + headroom → 8 GB.
The Keenrig installer warns when the machine has less than about 2 GB of RAM or less than 10 GB of free disk. It still installs — the numbers are a warning, not a block — but a 1 GB machine will not hold a real app for long.
What a 4 GB or 8 GB VPS costs
Prices from the providers’ own pages on 10 November 2026:
- Hetzner Cloud CX23: 2 vCPU, 4 GB — €5.99/month excluding VAT.
- Hetzner Cloud CAX11 (Arm): 2 vCPU, 4 GB — €6.49/month excluding VAT.
- Hetzner Cloud CX33: 4 vCPU, 8 GB — €8.99/month excluding VAT.
- DigitalOcean Basic droplets: 2 GB $12, 4 GB $24, 8 GB $48 per month.
Hetzner’s cost-optimized line no longer has a 2 GB plan, so 4 GB is now its entry point. Keenrig runs on both amd64 and arm64, so Arm plans are an option. Whatever the provider, check whether the price includes VAT and an IPv4 address before comparing.
CPU and disk, briefly
- CPU: two vCPUs are enough for a handful of small-team apps. Shared vCPUs are fine; you will notice CPU only during image downloads and heavy workflows.
- Disk: plan for 10 GB free at the very least; 40 GB or more is comfortable once images, data and local backups add up. If backups go to the same disk, they need space too — better still, send them to a NAS or S3.
Check what your apps really use
The minimums are a starting point. After a few days of normal use, look at the real numbers. Two commands on the server tell you most of what you need:
free -h # total, used and available memory
sudo docker stats --no-stream # memory per container right nowRead the “available” column of free, not “free”: Linux uses spare memory as disk cache and gives it back when apps need it. If available memory regularly drops below a few hundred megabytes, or docker stats shows an app sitting at its limit, raise that app’s memory limit or move to the next plan. If everything sits far below its limit for weeks, you have room for another app.
Also check whether the kernel has been killing processes: sudo dmesg | grep -i oom shows out-of-memory kills. One line there explains a lot of “the app restarted by itself” mysteries.
Swap: a cushion, not more RAM
A small swap file can stop a short spike from killing a process, and it costs nothing to add. But an app that lives in swap is painfully slow. If the server swaps constantly, the answer is a bigger plan, not a bigger swap file.
What this guide does not cover
- Running AI models locally. Models need far more memory and ideally a GPU; Open WebUI on a small VPS is meant to call a hosted API.
- Benchmarks: the minimums above come from the catalog manifests and from watching the apps idle, not from load tests. Watch actual usage for a week and adjust.
- Several servers. Keenrig Starter runs on one server; spreading apps over several machines is a paid-plan feature.
curl -fsSL https://get.keenrig.com | sudo shEach app page in the Keenrig app catalog shows its memory need, so you can add up your own list before you rent anything.