Self-hosted, measured

All apps › Monitoring and dashboards

Prometheus: how much memory it needs, measured

Prometheus stayed healthy at every memory limit we tried, down to 256 MiB, the smallest limit in the test. Updated · method

4 GiB cap – not tested 2 GiB cap ✓ healthy 1 GiB cap ✓ healthy 512 MiB cap ✓ healthy 256 MiB cap ✓ healthy
Each box is one run of the whole stack under a hard memory limit on the test host. Caps below the first failure were not run.

What the memory tests showed

Healthy at every cap tried, down to the 256 MiB floor of the test. At the 2 GiB cap: 136 MiB working set, 0.35% CPU, health check passed 4.1 s after start. At 256 MiB the working set was 30.6 MiB, lower. 6th lightest of 7 in its group (median 113 MiB).

Measured values written as a sentence by a script; every number is a stored field.

Everything measured or recorded for this app

Measured here

FieldValueSourceRetrievedReview
Healthy under a 2 GiB caphealthyraw run log2026-12-04unreviewed
Healthy under a 1 GiB caphealthyraw run log2026-12-04unreviewed
Healthy under a 512 MiB caphealthyraw run log2026-12-04unreviewed
Healthy under a 256 MiB caphealthyraw run log2026-12-04unreviewed
Memory used at that smallest cap30.6 MiBraw run log2026-12-04unreviewed
Working set at idle, 2 GiB cap (docker stats: includes active file cache)135.5 MiBraw run log2026-12-04unreviewed
Idle CPU at the 2 GiB cap0.35 %raw run log2026-12-04unreviewed
Highest sampled memory during start and settle136 MiBraw run log2026-12-04unreviewed
Seconds until the health check passed4.1 sraw run log2026-12-04unreviewed
Containers in the stack1raw run log2026-12-04unreviewed
Image size on disk371.3 MiBraw run log2026-12-04unreviewed
Image digest testedprom/prometheus@sha256:e04987641b57704f408e31f6373ba4138ecf27cb4a165d24aabb6c38fddd0f06raw run log2026-12-04unreviewed
Version testedimage built 2026-11-05raw run log2026-12-04unreviewed

Computed from our measurements

FieldValueSourceRetrievedReview
Smallest cap it stayed healthy in256 MiBraw run log2026-12-04unreviewed
RAM left on a DigitalOcean 512 MiB droplet after the smallest healthy cap256 MiBwww.digitalocean.comraw run log2026-12-04unreviewed
RAM left on a DigitalOcean 1 GiB droplet after the smallest healthy cap768 MiBwww.digitalocean.comraw run log2026-12-04unreviewed
RAM left on a DigitalOcean 2 GiB droplet after the smallest healthy cap1,792 MiBwww.digitalocean.comraw run log2026-12-04unreviewed
RAM left on Hostinger kvm 1 4 gb after the smallest healthy cap3,840 MiBwww.hostinger.comraw run log2026-12-04unreviewed

Public dataset

FieldValueSourceRetrievedReview
GitHub stars68,181 GitHub starsapi.github.com2026-12-05unreviewed
Source repositoryhttps://github.com/prometheus/prometheusapi.github.com2026-12-05unreviewed
LicenceApache-2.0api.github.com2026-12-05unreviewed
Latest release (dataset)v3.16.0 (2026-11-05)api.github.com2026-12-05unreviewed
Description in the public listThe Prometheus monitoring system and time series database.api.github.com2026-12-05unreviewed
Categoriesalerting, graphing, hacktoberfest, metrics, monitoring, prometheus, time-seriesapi.github.com2026-12-05unreviewed
Forks11102api.github.com2026-12-05unreviewed
Open issues1171api.github.com2026-12-05unreviewed
Repository created2012-11-24api.github.com2026-12-05unreviewed

Observed

FieldValueSourceRetrievedReview
Documented RAM requirementChecked 2 page(s), 129,866 characters in all; no memory or disk size appears next to a memory word.github.comcrawled page text (kept locally, not published)2026-12-04unreviewed

What the project says about itself

"The Prometheus monitoring system and time series database." Listed under alerting, graphing, hacktoberfest, metrics, monitoring, prometheus, time-series. Licence Apache-2.0, 68,181 GitHub stars, latest release v3.16.0 (2026-11-05), 11,102 forks, 1,171 open issues, repository created 2012-11-24.

Copied or assembled by a script from the sources linked below; nothing here is model-generated.

What runs inside the container

prometheus-app: ships with the command "/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus", runs as nobody, declares ports 9090/tcp; 1 process at idle (prometheus).

Copied or assembled by a script from the sources linked below; nothing here is model-generated.

Documented versus measured

Checked 2 page(s), 129,866 characters in all; no memory or disk size appears next to a memory word. First page: https://github.com/prometheus/prometheus (2026-12-04).

Measured values written as a sentence by a script; every number is a stored field.

Setup notes from our runs

Stack as run: image prom/prometheus:latest; listens on container port 9090; persistent paths /prometheus; health check GET /-/healthy expecting 200.

Copied or assembled by a script from the sources linked below; nothing here is model-generated.

What the container logged at start

First log lines at the 2 GiB run: "take a while" component=tsdb" | "time=2026-12-04T22:55:37.588Z level=INFO source=head.go:950 msg="WAL segment loaded" component=tsdb segment=0 maxSegment=0 duration=142.5µs" | "time=2026-12-04T22:55:37.588Z level=INFO source=head.go:987 msg="WAL replay completed" component=tsdb checkpoint_replay_duration=10.051µs wal_replay_duration=165.476µs wb".

Copied or assembled by a script from the sources linked below; nothing here is model-generated.

Compared with the rest of its group

The next lighter app in its group is Homepage at 119 MiB; the lightest is Beszel. The next heavier is Grafana at 491 MiB.

Measured values written as a sentence by a script; every number is a stored field.

Servers it would fit on, on paper

PlanRAMPrice shown on the provider's pageRAM minus smallest healthy cap
DigitalOcean Basic 512 MiB 512 MiB $4.00/mo +256 MiB
DigitalOcean Basic 1 GiB 1 GiB $6.00/mo +768 MiB
DigitalOcean Basic 2 GiB 2 GiB $12.00/mo +1,792 MiB
Hostinger KVM 1 (4 GB) 4 GiB $6.49/mo promotional, 24-month term, renews $11.99/mo +3,840 MiB

The last column is plain subtraction. It does not subtract the operating system, Docker or anything else on the server, which we did not measure. Prices were read from the provider pages on 2026-12-04 and change.

Other apps in the same group, measured the same way

Sources and how this page was made

The stack definition follows the project's own Docker instructions. A script ran it under each memory limit, sampled docker stats, and wrote the raw output linked above. Documented requirements, where shown, were pulled from the project's own pages by a local language model and kept only if the quoted sentence appears verbatim on the page. Review status shows whether a person has checked a value.