Wiki

How much RAM does Wiki.js need?

Self-hosted wiki built on Node.js, with a Markdown or visual editor, a PostgreSQL database and a built-in search. Official requirements, sourced, plus our own measurements.

Last updated: 2026-11-17
Pinned version: Wiki.js 2.5.317 (ghcr.io/requarks/wiki:2.5.317@sha256:e4708eed80c0) + PostgreSQL 15.20 (postgres:15-alpine@sha256:23799e521dee)

Official min RAM
1 GB
Official rec. RAM
not stated
Min CPU
1 cores
Rec. CPU
2 cores
Measured idle RAM
183 MB
Measured disk
1431 MB
Containers
2
Measured peak RAM (sample load)
356 MB

Our measurement

183 MB idle RAM · 1431 MB disk (images 1383 + data 48) · wiki 133 MB + PostgreSQL 50 MB

Docker Compose example from the official install guide, with both image tags replaced by an exact version and digest (never a floating tag). The first-run setup was completed with an admin account; no content yet. Wiki.js 2.x is measured because that is what the official Docker guide documents.

Method: Official compose file with exact version+digest pins, otherwise default settings, setup wizard completed. Measured after a 5-minute settle as docker stats MEM USAGE summed across both containers, 3 samples 20 s apart (median). Disk = pulled image sizes + named volume.
Host: 8 vCPU Intel Xeon VM, 16 GB RAM, Debian 13 (kernel 6.12), Docker 29.9.3 + Compose 2.40.3
Version: Wiki.js 2.5.317 (ghcr.io/requarks/wiki:2.5.317@sha256:e4708eed80c0) + PostgreSQL 15.20 (postgres:15-alpine@sha256:23799e521dee) · Compose: source · Date: 2026-11-17

With sample data

187 MB idle RAM · 1448 MB disk · wiki 299 MB + PostgreSQL 59 MB at peak, settled 137 MB + 50 MB
Peak RAM during processing: 356 MB

Sample: 200 Markdown pages (in 20 books of 10) (6 headed sections each, computer-generated text) created through the Wiki.js GraphQL API, then 1,000 page views and 100 searches, 10 at a time.

All 200 pages were created and all 1,100 page views and searches returned HTTP 200. Peak RAM was 356 MB (the wiki container rose to 299 MB). About 3 minutes after the load RAM had settled at 187 MB. Disk was about 1,448 MB (images 1,383 + database 65).

Method: Same setup and host as the idle measurement. Peak RAM sampled about every 2 seconds (docker stats, both containers summed) from just before the first page was created until after the last page view. Settled RAM = 3 samples 20 s apart, about 3 minutes after the load.
Version: Wiki.js 2.5.317 + PostgreSQL 15.20 · Date: 2026-11-17

Compare

What the official docs say

Fits a 4GB server?

yesMeasured 183 MB idle RAM for Wiki.js plus its PostgreSQL database after setup, 356 MB peak while creating 200 pages and serving 1,100 page views and searches, and 187 MB once that load had settled. Plus 512 MB for the OS that fits 4 GB with lots of room, and well above the 1 GB the docs ask for.

Sources