How much RAM does n8n need?

Short answer: 2 GB to start, 4 GB to be comfortable. n8n's own docs give 320 MB to 2 GB as an example range, and an idle n8n Cloud instance uses about 100 MB. On a VPS that also runs the OS and Docker, plan on 2 GB minimum for light personal use and 4 GB if you add Postgres, AI agent workflows or the Code node on large data.

RAM by use case — cheapest plan that fits

RAMGood forCheapest (renewal)
2 GBPersonal use: a few scheduled workflows and webhooks, SQLite$10.00/mo
Vultr vc2-1c-2gb
4 GBSmall team or side business: Postgres, a reverse proxy, AI agent workflows$11.99/mo
Hostinger KVM 1
8 GBHeavy use: queue mode (Redis + Postgres + workers), large files, many runs at once$6.60/mo
Contabo Cloud VPS 10 (n8n)

Worth knowing: Contabo Cloud VPS 10 (n8n) (4 vCPU / 8 GB) renews at $6.60/mo (its regular list price after the 24-month intro) — the cheapest verified plan of any size, so going bigger doesn't always cost more.

Verified USD VPS plans ranked by renewal price, checked 2026-10-26. Hetzner (EUR excl. VAT): CPX12 2 GB €11.99; CPX22 4 GB €19.99; the €5.99 CX23 was marked not available. Rule of thumb, not a benchmark.

What actually eats memory

Signs you’ve run out

“Execution stopped at this node (n8n may have run out of memory)”, “Connection Lost”, 503 errors, or JavaScript heap out of memory in the logs. The Docker image restarts n8n on its own; an npm install may need a manual restart.

Try these before paying for more RAM

Next: Can n8n run on 2 GB? · Cheapest VPS for n8n · Calculator (it picks a RAM size from your execution count).

Sources: n8n docs — Fix memory issues, sizing prerequisites.

More comparisons: Hostinger vs Contabo for n8n · Cheapest VPS for n8n · Can n8n Run on 2 GB RAM? · n8n Cloud vs Self-Hosted: Real Cost · Hetzner vs DigitalOcean for n8n · Vultr vs Linode for n8n