How much RAM does BookStack need?
Self-hosted wiki that organizes documentation into shelves, books, chapters and pages, with WYSIWYG and Markdown editors. Official requirements, sourced, plus our own measurements.
Last updated: 2026-11-04
Pinned version: BookStack v26.09.2 (lscr.io/linuxserver/bookstack:v26.09.2-ls295@sha256:33f61a72d9aa) + MariaDB 11.8.9 (lscr.io/linuxserver/mariadb:11.8.9-r0-ls239@sha256:7b4b9904c151)
Our measurement
165 MB idle RAM · 1176 MB disk (images 1015 + data 161) · bookstack 57 MB + MariaDB 108 MB
LinuxServer.io docker-compose example (the image BookStack's install docs point to) with LinuxServer's MariaDB image as the database and both images pinned to an exact version and digest. Logged in once with the default admin account; no content yet.
Method: Compose file with image tags replaced by exact version+digest (never latest). 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 + config and database folders 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: BookStack v26.09.2 (lscr.io/linuxserver/bookstack:v26.09.2-ls295@sha256:33f61a72d9aa) + MariaDB 11.8.9 (lscr.io/linuxserver/mariadb:11.8.9-r0-ls239@sha256:7b4b9904c151) · Compose: source · Date: 2026-11-04
With sample data
213 MB idle RAM · 1241 MB disk · bookstack 84 MB + MariaDB 131 MB at peak, settled 74 MB + 139 MB
Peak RAM during processing: 215 MB
Sample: 20 books with 10 pages each (200 pages of computer-generated text, 6 headed sections per page) created through the BookStack API, then 1,000 page views and 100 searches from a logged-in browser session, 10 at a time.
All 200 pages were created and all 1,100 page views and searches returned HTTP 200. Peak RAM was 215 MB during the page views, and about 3 minutes later RAM had settled at 213 MB, mostly MariaDB keeping the new pages cached. Disk was about 1,241 MB (images 1,015 + config and database 226).
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 book was created until after the last page view. Settled RAM = 3 samples 20 s apart, about 3 minutes after the load.
Version: BookStack v26.09.2 (lscr.io/linuxserver/bookstack:v26.09.2-ls295) + MariaDB 11.8.9 · Date: 2026-11-04
What the official docs say
- The official docs don't state minimum or recommended RAM, CPU or disk.
- Core requirements: PHP 8.2 or newer, MySQL 8.0 or newer or MariaDB 10.6 or newer, Composer 2.2 or newer and a PHP-compatible web server.
- BookStack doesn't publish its own Docker image; its install docs point to community images from LinuxServer.io and solidnerd. LinuxServer's image runs on x86-64 and arm64 and needs a separate MariaDB database.
- Shared PHP hosting isn't supported, per the official docs.
Fits a 4GB server?
yesMeasured 165 MB idle RAM for BookStack plus its MariaDB database after first login, and 215 MB peak while creating 20 books with 200 pages and serving 1,100 page views and searches. Plus 512 MB for the OS that fits 4 GB with lots of room.
Sources
- BookStack docs: Installation (requirements and Docker options) checked 2026-11-04
- LinuxServer.io docs: bookstack image and docker-compose checked 2026-11-04
- LinuxServer.io docs: mariadb image checked 2026-11-04
- BookStack v26.09.2 release checked 2026-11-04
- LinuxServer.io bookstack v26.09.2-ls295 release checked 2026-11-04