How much RAM does PocketBase need? We measured: 31 MB idle

Version 0.22.21 · measured 2026-08-09 · all 13 apps

PocketBase (backend-as-a-service (db + auth + api)) used 31 MB of RAM across 1 process sitting idle with default configuration — measured by us, on real hardware, not copied from another blog. Runtime: Single Go binary (embedded SQLite)

Smallest sane VPS: 512 MB.
31 MB for a database, auth server and REST API combined. This is the strongest argument on the site against 2 GB 'minimum' advice.

What the vendors say

PocketBase is explicit that it runs on the smallest instances available, and our measurement backs that up — which is notable for something replacing a whole Firebase-style stack.

What changes under load

SQLite means the OS page cache does the heavy lifting, so RSS stays flat while the dataset grows. Sustained write concurrency, not memory, is the ceiling here.

Methodology

Measured 2026-08-09 on Ubuntu 24.04.4 LTS, x86-64.

Each app was started with its default configuration and an empty data directory, left to settle for 25–30 seconds, and confirmed alive with an HTTP request to its web interface. We then recorded the resident set size (RSS) of the app's entire process tree via ps. Apps were run directly on the host (no Docker), so numbers exclude container overhead (~10–30 MB with Docker).

A fresh minimal Ubuntu 24.04 VPS typically idles at roughly 200–300 MB RSS (kernel, systemd, sshd, journald). All 'fits on' verdicts below assume ~300 MB reserved for the OS.

Where to run it

A 512 MB instance from Hetzner, Vultr or DigitalOcean covers this app with the OS overhead included. Don't pay for RAM the measurements say you won't use.

Other apps we measured

File Browser (16 MB), Gotify (20 MB), ntfy (27 MB), Caddy (40 MB), Navidrome (47 MB), Syncthing (57 MB), Prometheus (70 MB), MinIO (132 MB), Uptime Kuma (136 MB), Gitea (158 MB), Forgejo (173 MB), code-server (VS Code in the browser) (191 MB)

Disclosures: This site is researched, measured and written with the help of AI tools; every benchmark number is from a real measurement we ran ourselves, and a human owner reviews content before publication. Some links to hosting providers may become affiliate links — if you buy through them we may earn a commission at no extra cost to you. No provider paid for placement or saw content before publication.