Automation

How much RAM does n8n need?

Self-hosted workflow automation with a visual editor, 400+ integrations and code steps. Official requirements, sourced, plus our own measurements.

Last updated: 2026-11-02
Pinned version: n8n 2.45.7 (n8nio/n8n:2.45.7@sha256:9a8d8dcea756) + Traefik v3.7.17 (traefik:v3.7.17@sha256:30ff62491aac)

Official min RAM
not stated
Official rec. RAM
not stated
Min CPU
not stated
Rec. CPU
not stated
Measured idle RAM
418 MB
Measured disk
1975 MB
Containers
2
Measured peak RAM (sample load)
1498 MB

Our measurement

418 MB idle RAM · 1975 MB disk (images 1966 + data 9) · n8n 400 MB, traefik 18 MB (SQLite, default settings)

Official compose.yaml and .env from the n8n Docker Compose docs (n8n + Traefik, SQLite) with both image tags pinned to exact versions by digest. The owner account was created; no workflows. Traefik could not get a certificate for the example domain, which doesn't affect RAM.

Method: Official compose file with the image tags replaced by exact version+digest (never latest). Measured after a 5-minute settle as docker stats MEM USAGE summed across containers, 3 samples 20 s apart (median). Disk = pulled image sizes + Docker volumes + bind-mounted local-files folder after setup.
Host: 8 vCPU Intel Xeon VM, 16 GB RAM, Debian 13 (kernel 6.12), Docker 29.9.2 + Compose 5.6.1
Version: n8n 2.45.7 (n8nio/n8n:2.45.7@sha256:9a8d8dcea756) + Traefik v3.7.17 (traefik:v3.7.17@sha256:30ff62491aac) · Compose: source · Date: 2026-11-02

With sample data

425 MB idle RAM · 2208 MB disk · n8n 1,480 MB peak, traefik 18 MB; settled 403 + 22 MB
Peak RAM during processing: 1498 MB

Sample: One active workflow (Webhook trigger, a Code node that builds 5,000 JSON items, and a Code node that sums them) called 300 times through its production webhook URL, 10 requests at a time. All 300 returned HTTP 200 in about 20 seconds, and every execution was saved with the default settings.

Peak RAM during the burst was 1,498 MB, almost all in the n8n container. About five minutes later RAM had settled back to 425 MB. The saved executions (about 0.8 MB each) grew the data volume to 240 MB, so disk was about 2,208 MB (images 1,966 + data 242).

Method: Same official setup and host as the idle measurement. Peak RAM sampled about every 3 seconds (docker stats, both containers summed) for 4 minutes from just before the first request. Settled RAM = 3 samples 20 s apart, about 5 minutes after the burst.
Version: n8n 2.45.7 (n8nio/n8n:2.45.7) + Traefik v3.7.17 · Date: 2026-11-02

What the official docs say

Fits a 4GB server?

yesMeasured 418 MB idle RAM (n8n plus Traefik) after owner setup, and 1,498 MB peak while running 300 webhook executions of a 5,000-item Code-node workflow, 10 at a time. Plus 512 MB for the OS that still fits 4 GB, but the docs warn that memory grows with the data your workflows handle.

Sources