Memory and startup numbers
How much RAM does the server need, and how fast does it start? How Vanillite saves memory is explained in Memory and startup.
Startup and idle
Measured with the benchmark suite (cargo xtask bench, scenario startup) on the dedicated benchmark server (6 CPUs of an AMD EPYC-Milan, 12 GiB RAM). Every server ran alone in a container limited to 4 cores and 8 GiB (How we measure). All four servers were measured in the same run: 2026-11-27, 14:19 UTC, Vanillite dev 3a22127, Paper 26.3 (build 262), Vanilla 26.3 and Pumpkin 0.2.2, all Minecraft 26.3. The host was not overloaded in any of the four runs.
- Cold start: the first start, including creating the world.
- Warm start: a start with an existing world.
- Idle RAM: resident memory (RSS) after startup, no players online.
- Idle CPU: CPU use while the server waits with no players (100 % = one core).
| Server | Cold start | Warm start | Idle RAM | Idle CPU |
|---|---|---|---|---|
| Vanillite | 5.43 s | 1.24 s | 74.6 MiB | 0.57 % |
| Paper 26.3 | 18.54 s | 13.38 s | 1392 MiB | 4.33 % |
| Vanilla 26.3 | 13.84 s | 12.17 s | 1037 MiB | 1.33 % |
| Pumpkin | 0.35 s | 0.32 s | 59.9 MiB | 1.43 % |
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#8a8f98, #2e9d5b"}}}}%%
xychart-beta
title "Startup time, s (lower is better): cold grey, warm green"
x-axis ["Paper", "Vanilla", "Vanillite", "Pumpkin"]
y-axis "Seconds" 0 --> 20
bar [18.54, 13.84, 5.43, 0.35]
bar [13.38, 12.17, 1.24, 0.32]
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#2e9d5b"}}}}%%
xychart-beta
title "RAM at idle, MiB (lower is better)"
x-axis ["Paper", "Vanilla", "Vanillite", "Pumpkin"]
y-axis "RAM (MiB)" 0 --> 1500
bar [1392, 1037, 74.6, 59.9]
Source: benchmark suite run of 2026-11-27 (14:19 UTC) on the benchmark server, 4 cores and 8 GiB per server, Vanillite dev 3a22127, Minecraft 26.3.
What this means:
- At idle Vanillite uses about 19× less RAM than Paper and about 14× less than Vanilla.
- Its warm start is about 11× faster than Paper and about 10× faster than Vanilla. Its cold start (with world creation) is about 3.4× faster than Paper and 2.5× faster than Vanilla.
- Idle CPU is the lowest of the four.
- Pumpkin, another server written in Rust, starts faster and uses about 15 MiB less RAM at idle. It does not yet implement full Vanilla world generation and gameplay, so it has less to load at startup. With game work it needs more: about 200 MiB in the suite's game scenarios, and 5510 MiB with 500 spread-out players (Vanillite: 1694 MiB, Players and tick time).
Earlier run for comparison: on the old 4-core test machine (run of 2026-11-27, 04:42 UTC, dev 24e7176) Vanillite showed 282 MiB at idle and a 3.89 s warm start; Paper 1385 MiB and Vanilla 1003 MiB came from the run of 2026-11-25. After that run, Vanillite's idle RAM was cut again (structure data is loaded only when needed, and a large compression buffer is freed after use), and a server with no players frees the tables it can build again after 60 seconds (Memory and startup). The two runs used different machines, so they are not a strict before/after.
One core and 1 GiB (benchmark server)
The suite's weak hardware scenario: the server alone in a container with one CPU core and 1 GiB RAM, then one bot walks and flies through new terrain. Run of 2026-11-27 (16:57 UTC) on the benchmark server, Vanillite dev eabe8d6. Tick times: Players and tick time.
| Server | Start | Idle RAM | RAM, bot sprinting | RAM, bot flying |
|---|---|---|---|---|
| Vanillite | 5.04 s | 84 MiB | 157 MiB | 170 MiB |
| Pumpkin | 0.52 s | 60 MiB | 260 MiB | 303 MiB |
Vanillite needs a little more RAM at idle than Pumpkin and much longer to start, but less once the bot moves through new terrain. Paper and Vanilla are not part of this scenario. The start time includes creating a new world.
The Docker image on one core
Measured 2026-11-27 on the old test server, with the Docker image (distroless base) limited to 1 CPU core and 1 GiB RAM, with 20 bots (walking, then flying through new terrain). Vanillite dev with the leaner memory settings of the image. Three rounds were consistent; the numbers are typical values. No other server was measured this way.
| Build | Idle RAM | RAM with 20 bots walking | RAM with 20 bots flying | Start |
|---|---|---|---|---|
| Docker image, new settings | 105 MiB | 212 MiB | 357 MiB | 7 s |
| Docker image, before | 122 MiB | 254 MiB | 468 MiB | 20 s |
| Same code as a normal Linux build (glibc) | 116 MiB | 220 MiB | 325 MiB | 9 s |
The image now needs less RAM at idle than the normal build, starts in about a third of the time it needed before, and under flying load it is within about 30 MiB of the normal build. The binary is about 29 MB. These numbers are a different scenario from the tables above (20 bots, a different world, one core), so do not compare them with the 74.6 MiB.
RAM with players
Newest (2026-11-27, 16:57 UTC, benchmark server, 4 cores / 8 GiB): RAM of the whole server process in the dense random walk (bots walk close together and follow the terrain; Vanillite dev eabe8d6). The game now has mobs and much more than the older builds below.
| Players | Vanillite | Paper | Pumpkin ⚠ |
|---|---|---|---|
| 100 | 219 MiB | 2407 MiB | 692 MiB |
| 500 | 295 MiB | 2688 MiB (215 joined) | 2006 MiB |
| 1000 | 443 MiB | not reached | 2690 MiB (149 joined) |
| 2000 | 772 MiB | not reached | not reached |
⚠: the host was overloaded during the Pumpkin run, so its numbers are unreliable. Vanillite's RAM per player above idle fell from about 1.3 MiB at 100 players to about 350 KiB at 2000. At 5000 players no bot stayed connected in this run, so there is no number (Players and tick time).
Older: before mobs. RAM (RSS) of the whole server process during the load test (dense random walk, view distance 10, see How we measure). Measured 2026-11-24: Vanillite dev 2cfeb4c, Paper for 26.3.
| Players | Vanillite | Paper |
|---|---|---|
| 50 | 182 MiB | 1824 MiB |
| 100 | 236 MiB | 1850 MiB |
| 147 | not a step | 2432 MiB |
| 250 | 380 MiB | overloaded |
| 500 | 621 MiB | overloaded |
| 1000 | 1124 MiB | overloaded |
| 2000 | 2172 MiB | overloaded |
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#8a8f98, #2e9d5b"}}}}%%
xychart-beta
title "RAM by players (lower is better): Paper grey, Vanillite green"
x-axis "Players" [50, 100]
y-axis "RAM (MiB)" 0 --> 2000
bar [1824, 1850]
bar [182, 236]
At 100 players Vanillite used about 8× less RAM than Paper. In the newer suite scenarios with mobs and items, Vanillite used 450–480 MiB against 1300–1600 MiB for Paper and Vanilla (Players and tick time).
Less RAM per player
On 2026-11-25 Vanillite got cheaper per player: who-sees-whom is stored as compact bit sets, and the compression memory (about 2 MB per connection before) is shared between connections. Same scenario, Vanillite dev 5f80867:
| Players | RAM before (dev 2cfeb4c) |
RAM after (dev 5f80867) |
After, per player |
|---|---|---|---|
| 1000 | 1124 MiB | 844 MiB | 864 KiB |
| 2000 | 2172 MiB | 1133 MiB | 580 KiB |
| 5000 | out of memory (6 GiB) | 2547 MiB | 522 KiB |
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#8a8f98, #2e9d5b"}}}}%%
xychart-beta
title "RAM before (grey) and after (green), MiB (lower is better)"
x-axis "Players" [1000, 2000]
y-axis "RAM (MiB)" 0 --> 2300
bar [1124, 2172]
bar [844, 1133]
RAM per player: about 520–580 KiB per player at 2000–5000 players (was about 1.1 MiB). 5000 players fit in about 2.5 GiB; before, the server ran out of its 6 GiB limit. Tick time at these sizes: Players and tick time. Paper reached only 147 players, so its per-player cost cannot be compared yet.
Not measured yet
| Measurement | Vanillite | Others |
|---|---|---|
| Program size, compared with other servers | about 29 MB for Vanillite (Docker build); others not measured | not measured |
See also: Players and tick time.
Next chapter: How parity is tested.