Self-hosted, measured

All apps › Notes and wikis

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

4 GiB cap ✗ never became ready 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: 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

FieldValueSourceRetrievedReview
Healthy under a 4 GiB capnever became readyraw run log2026-12-04unreviewed
Healthy under a 2 GiB caphealthyraw run log2026-12-04unreviewed
Highest sampled memory during start and settle54.7 MiBraw run log2026-12-04unreviewed
Containers in the stack1raw run log2026-12-04unreviewed
Image size on disk464.8 MiBraw run log2026-12-04unreviewed
Image digest testedb3log/siyuan@sha256:3e1b65ce633e437fed4ed440367d0dc316039b02d4554a47bdda16790b6a973draw run log2026-12-04unreviewed
Version testedimage built 2026-11-24raw 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 cap77.4 MiBraw run log2026-12-04unreviewed
Working set at idle, 2 GiB cap (docker stats: includes active file cache)53.1 MiBraw run log2026-12-04unreviewed
Idle CPU at the 2 GiB cap1.28 %raw run log2026-12-04unreviewed
Seconds until the health check passed10.3 sraw 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 stars47,448 GitHub starsgithub.com2026-12-03unreviewed
LicenceAGPL-3.0github.com2026-12-03unreviewed
Source repositoryhttps://github.com/siyuan-note/siyuangithub.com2026-12-03unreviewed
Latest release (dataset)v3.8.12 (2026-11-24)github.com2026-12-03unreviewed
Description in the public listPrivacy-first personal knowledge management software, written in typescript and golang.github.com2026-12-03unreviewed
CategoriesKnowledge Management Toolsgithub.com2026-12-03unreviewed
Platforms listedDocker, Gogithub.com2026-12-03unreviewed
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:1101github.com2026-12-03unreviewed

Observed

FieldValueSourceRetrievedReview
Documented RAM requirementChecked 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-04unreviewed

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

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.