Small hardware: 1 core and 1 GiB

Vanillite is built to run on very little hardware: the developers test with 1 CPU core and 1 GiB of RAM. These steps keep such a server smooth.

Suggestions, not measurements. The values below are sensible starting points. We have not published a tuned result for them yet (Memory and startup numbers).

1. Tell the server its limits

In a container the server reads the limits itself.

Outside a container, say it in vanillite.toml:

[performance.budget]
cpu = 1
memory = 1024   # MiB

You should see a line Hardware budget: … in the log when the server starts.

2. Lower the view distance

Every chunk a player sees costs memory and work. In server.properties:

view-distance=6
simulation-distance=4

view-distance is how far players see. simulation-distance is how far the world "lives" (mobs move, crops grow). Both are in chunks. Vanilla's defaults are 10 and 10.

3. Pick the profile

For a few friends, keep the default paper profile: it already lowers the work of mobs and entities far from players. For more players, or if the server gets slow, use performance in vanillite.toml:

profile = "performance"

It lowers the work of mobs, items and entities far from players more strongly and changes the game only a little (Profiles). It also saves RAM: chunks that do not tick are kept packed in memory, unused chunks leave memory sooner, and when the server's RAM goes above 85 % of its memory limit, the view distance steps down (to at most 6) and comes back when memory is free again. Some of its savings are about many cores (such as the tile mode and parallel path finding), which a single core does not use. If you want exact Vanilla behaviour more than speed, set profile = "vanilla".

4. Fewer mobs, if needed

If many mobs make ticks long, lower the caps (Vanilla: 70 monsters, 10 animals):

[performance.spawning]
monster-cap = 40
creature-cap = 8

What Vanillite does for you

With less than two cores, background work (world generation, light, saving) runs between ticks and below the container's CPU quota, so the game keeps its rhythm. Caches shrink to fit the memory. A server without players gives memory back after a minute. Chunks that players left behind and that wait to be saved are kept in check too: above a limit of 1/32 of the memory, saving them goes before generating new chunks, so a player who explores fast does not fill the RAM. Memory the server no longer uses is also handed back to the system about every 30 seconds, even while a player explores on one core. More: Memory and startup and Threads and ticks.

Good to know

  • Do not set storage.read-cache high on 1 GiB: it is capped at 1/32 of the memory by itself.
  • Leave a little room: the container limit must also hold the operating system's share, not only the world.
  • The first start generates the spawn area, which takes longest on one core.
  • In the developers' own test (one core, 1 GiB, players exploring), the RAM stayed flat at about 520–570 MiB after the first minutes; before the last fix it grew steadily. This is one local test, not a published benchmark. Watch your own server with /vanillite memory (Admin commands: /vanillite).

What next?

All settings: Performance settings. Numbers: Players and tick time (scenario weak).

Back to the Guides overview.