Stalwart Mail Server: how much memory it needs, measured
Stalwart Mail Server stayed healthy at every memory limit we tried, down to 256 MiB, the smallest limit in the test. Updated · method
What the memory tests showed
Healthy at every cap tried, down to the 256 MiB floor of the test. At the 2 GiB cap: 22.0 MiB working set, 0.92% CPU, health check passed 4.1 s after start. At 256 MiB the working set was 15.4 MiB, lower.
Measured values written as a sentence by a script; every number is a stored field.
Everything measured or recorded for this app
Measured here
| Field | Value | Source | Retrieved | Review |
|---|---|---|---|---|
| Healthy under a 2 GiB cap | healthy | raw run log | 2026-12-04 | unreviewed |
| Healthy under a 1 GiB cap | healthy | raw run log | 2026-12-04 | unreviewed |
| Healthy under a 512 MiB cap | healthy | raw run log | 2026-12-04 | unreviewed |
| Healthy under a 256 MiB cap | healthy | raw run log | 2026-12-04 | unreviewed |
| Memory used at that smallest cap | 15.4 MiB | raw run log | 2026-12-04 | unreviewed |
| Working set at idle, 2 GiB cap (docker stats: includes active file cache) | 22 MiB | raw run log | 2026-12-04 | unreviewed |
| Idle CPU at the 2 GiB cap | 0.92 % | raw run log | 2026-12-04 | unreviewed |
| Highest sampled memory during start and settle | 23.4 MiB | raw run log | 2026-12-04 | unreviewed |
| Seconds until the health check passed | 4.1 s | raw run log | 2026-12-04 | unreviewed |
| Containers in the stack | 1 | raw run log | 2026-12-04 | unreviewed |
| Image size on disk | 543.5 MiB | raw run log | 2026-12-04 | unreviewed |
| Image digest tested | ghcr.io/stalwartlabs/stalwart@sha256:73444fbe4c57f17dd63eb0b602c3377d46089fc6887730e8eede34d7108d3191 | raw run log | 2026-12-04 | unreviewed |
| Version tested | v1.2 | raw run log | 2026-12-04 | unreviewed |
Computed from our measurements
| Field | Value | Source | Retrieved | Review |
|---|---|---|---|---|
| Smallest cap it stayed healthy in | 256 MiB | raw run log | 2026-12-04 | unreviewed |
| RAM left on a DigitalOcean 512 MiB droplet after the smallest healthy cap | 256 MiB | www.digitalocean.comraw run log | 2026-12-04 | unreviewed |
| RAM left on a DigitalOcean 1 GiB droplet after the smallest healthy cap | 768 MiB | www.digitalocean.comraw run log | 2026-12-04 | unreviewed |
| RAM left on a DigitalOcean 2 GiB droplet after the smallest healthy cap | 1,792 MiB | www.digitalocean.comraw run log | 2026-12-04 | unreviewed |
| RAM left on Hostinger kvm 1 4 gb after the smallest healthy cap | 3,840 MiB | www.hostinger.comraw run log | 2026-12-04 | unreviewed |
Public dataset
| Field | Value | Source | Retrieved | Review |
|---|---|---|---|---|
| GitHub stars | 16,509 GitHub stars | github.com | 2026-12-03 | unreviewed |
| Licence | AGPL-3.0 | github.com | 2026-12-03 | unreviewed |
| Source repository | https://github.com/stalwartlabs/stalwart | github.com | 2026-12-03 | unreviewed |
| Description in the public list | All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features. | github.com | 2026-12-03 | unreviewed |
| Categories | Communication - Email - Complete Solutions | github.com | 2026-12-03 | unreviewed |
| Platforms listed | Rust, Docker | github.com | 2026-12-03 | unreviewed |
| Commits per month, last 12 months (dataset) | 2025-12:59; 2026-01:27; 2026-02:10; 2026-03:64; 2026-04:90; 2026-05:73; 2026-06:76; 2026-07:85; 2026-08:103; 2026-09:69; 2026-10:36; 2026-11:6 | github.com | 2026-12-03 | unreviewed |
| Latest release (dataset) | v1.2.1 (2026-11-26) | github.com | 2026-12-03 | unreviewed |
Observed
| Field | Value | Source | Retrieved | Review |
|---|---|---|---|---|
| Documented RAM requirement | Checked 1 page(s), 36,471 characters in all; no memory or disk size appears next to a memory word. | github.comcrawled page text (kept locally, not published) | 2026-12-04 | unreviewed |
What the project says about itself
"All-in-one mail server with JMAP, IMAP4, and SMTP support and a wide range of modern features." Listed under Communication - Email - Complete Solutions; platforms: Rust, Docker. Licence AGPL-3.0, 16,509 GitHub stars, latest release v1.2.1 (2026-11-26).
Copied or assembled by a script from the sources linked below; nothing here is model-generated.
What runs inside the container
stalwart-app: ships with the command "/usr/local/bin/stalwart --config /etc/stalwart/config.json", runs as stalwart, declares ports 110/tcp, 143/tcp, 25/tcp, 4190/tcp, 443/tcp, 465/tcp, 587/tcp, 8080/tcp, 993/tcp, 995/tcp; 1 process at idle (stalwart).
Copied or assembled by a script from the sources linked below; nothing here is model-generated.
Documented versus measured
Checked 1 page(s), 36,471 characters in all; no memory or disk size appears next to a memory word. First page: https://github.com/stalwartlabs/stalwart (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 ghcr.io/stalwartlabs/stalwart:latest; listens on container port 8080; persistent paths /opt/stalwart; health check GET / expecting 200/301/302/307/308.
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: "Use these credentials to complete the initial setup at the" | "/admin web UI. Once setup is done, Stalwart will provision a" | "permanent administrator and this temporary account will no".
Copied or assembled by a script from the sources linked below; nothing here is model-generated.
How actively it is developed
698 commits in 12 months; busiest August 2026 (103), quietest November 2026 (6); last three months 111 against 96 in the first three, so work held steady.
Measured values written as a sentence by a script; every number is a stored field.
Servers it would fit on, on paper
| Plan | RAM | Price shown on the provider's page | RAM 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.
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.
- https://github.com/awesome-selfhosted/awesome-selfhosted-data/blob/6dd3465291ec27d6463e5668ef6a3e0277d08275/software/stalwart-mail-server.yml
- https://github.com/stalwartlabs/stalwart
- /evidence/stalwart/run-2048.json
- /evidence/stalwart/run-1024.json
- /evidence/stalwart/run-512.json
- /evidence/stalwart/run-256.json
- https://www.digitalocean.com/pricing/droplets
- https://www.hostinger.com/vps-hosting