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)
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
What the official docs say
- Official docs: Linux systems should have at least 1 GB of RAM; the process itself usually sits around 70 MB but page rendering and indexing cause short bursts.
- CPU: one core is fine, 2 or more are recommended for the background workers. Storage: at least 1 GB dedicated to Wiki.js is recommended, plus whatever content you add.
- PostgreSQL 9.5 or later is recommended; MySQL 8.0, MariaDB 10.2.7, MS SQL Server and SQLite also work in 2.x, but the docs say they won't be supported in the next major version.
- Wiki.js 2.x ships a Docker image on GitHub Packages and Docker Hub with ARM64 support. The docs advise using a major-version tag such as :2 instead of :latest.
- A newer 3.x line exists on GitHub (3.4.0 published 2026-11-15), but the official install guide still documents the 2.x image, so this page measures 2.5.317.
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
- Wiki.js docs: Server requirements checked 2026-11-17
- Wiki.js docs: Install with Docker checked 2026-11-17
- Wiki.js 3.4.0 release (newer major line) checked 2026-11-17