SiYuan: how much memory it needs, measured
SiYuan 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: 53.1 MiB working set, 1.28% CPU, health check passed 10.3 s after start. At 256 MiB the working set was 77.4 MiB, higher. 2nd lightest of 4 in its group (median 61.2 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
| Field | Value | Source | Retrieved | Review |
|---|---|---|---|---|
| Healthy under a 4 GiB cap | never became ready | raw run log | 2026-12-04 | unreviewed |
| Healthy under a 2 GiB cap | healthy | raw run log | 2026-12-04 | unreviewed |
| Highest sampled memory during start and settle | 54.7 MiB | raw run log | 2026-12-04 | unreviewed |
| Containers in the stack | 1 | raw run log | 2026-12-04 | unreviewed |
| Image size on disk | 464.8 MiB | raw run log | 2026-12-04 | unreviewed |
| Image digest tested | b3log/siyuan@sha256:3e1b65ce633e437fed4ed440367d0dc316039b02d4554a47bdda16790b6a973d | raw run log | 2026-12-04 | unreviewed |
| Version tested | image built 2026-11-24 | 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 | 77.4 MiB | raw run log | 2026-12-04 | unreviewed |
| Working set at idle, 2 GiB cap (docker stats: includes active file cache) | 53.1 MiB | raw run log | 2026-12-04 | unreviewed |
| Idle CPU at the 2 GiB cap | 1.28 % | raw run log | 2026-12-04 | unreviewed |
| Seconds until the health check passed | 10.3 s | 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 | 47,448 GitHub stars | github.com | 2026-12-03 | unreviewed |
| Licence | AGPL-3.0 | github.com | 2026-12-03 | unreviewed |
| Source repository | https://github.com/siyuan-note/siyuan | github.com | 2026-12-03 | unreviewed |
| Latest release (dataset) | v3.8.12 (2026-11-24) | github.com | 2026-12-03 | unreviewed |
| Description in the public list | Privacy-first personal knowledge management software, written in typescript and golang. | github.com | 2026-12-03 | unreviewed |
| Categories | Knowledge Management Tools | github.com | 2026-12-03 | unreviewed |
| Platforms listed | Docker, Go | github.com | 2026-12-03 | unreviewed |
| Commits per month, last 12 months (dataset) | 2025-12:443; 2026-01:390; 2026-02:339; 2026-03:438; 2026-04:271; 2026-05:412; 2026-06:1138; 2026-07:1766; 2026-08:1409; 2026-09:1898; 2026-10:1815; 2026-11:1101 | github.com | 2026-12-03 | unreviewed |
Observed
| Field | Value | Source | Retrieved | Review |
|---|---|---|---|---|
| Documented RAM requirement | Checked 1 page(s), 69,621 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
"Privacy-first personal knowledge management software, written in typescript and golang." Listed under Knowledge Management Tools; platforms: Docker, Go. Licence AGPL-3.0, 47,448 GitHub stars, latest release v3.8.12 (2026-11-24).
Copied or assembled by a script from the sources linked below; nothing here is model-generated.
What runs inside the container
siyuan-app: ships with the command "/opt/siyuan/entrypoint.sh serve --workspace=/siyuan/workspace/", runs as root (image default), declares ports 6806/tcp; 1 process at idle (kernel).
Copied or assembled by a script from the sources linked below; nothing here is model-generated.
Documented versus measured
Checked 1 page(s), 69,621 characters in all; no memory or disk size appears next to a memory word. First page: https://github.com/siyuan-note/siyuan (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 b3log/siyuan:latest; listens on container port 6806; persistent paths /siyuan/workspace; environment variables set: SIYUAN_ACCESS_AUTH_CODE; start command overridden to: serve --workspace=/siyuan/workspace/; health check GET /api/system/version 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: "* workspace directory [/siyuan/workspace]" | "D 2026/12/05 07:22:57 conf.go:348: check device locale failed [detect: not detected], using default language [en]" | "I 2026/12/05 07:22:57 runtime.go:236: use network proxy [direct]".
Copied or assembled by a script from the sources linked below; nothing here is model-generated.
How actively it is developed
11,420 commits in 12 months; busiest September 2026 (1,898), quietest April 2026 (271); last three months 4,814 against 1,172 in the first three, so work picked up.
Measured values written as a sentence by a script; every number is a stored field.
Compared with the rest of its group
The next lighter app in its group is Memos at 16.8 MiB; the lightest is Memos. The next heavier is TriliumNext Notes at 69.2 MiB, and the heaviest is Etherpad at 330 MiB.
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.
Other apps in the same group, measured the same way
- Memos: healthy down to 256 MiB, 17 MiB idle
- TriliumNext Notes: healthy down to 256 MiB, 69 MiB idle
- Etherpad: healthy down to 256 MiB, 330 MiB idle
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/siyuan.yml
- /evidence/siyuan/run-4096.json
- /evidence/siyuan/run-2048.json
- /evidence/siyuan/run-1024.json
- /evidence/siyuan/run-512.json
- /evidence/siyuan/run-256.json
- https://github.com/siyuan-note/siyuan
- https://www.digitalocean.com/pricing/droplets
- https://www.hostinger.com/vps-hosting