On page 8 sections
Briefly
Number of players and server range - answer in -Xmx and machine memory
An empty server 26.3 keeps close to 160 MBevery player adds his cups to it. 10 players with a range of 10. -Xmx2G, by 20 — -Xmx3G. Numbers are a guess, not a guess; plugins and mods are at the top.
-Xmx - with a margin: no less than 1.5 times and 512 MB is larger than what the server holds, otherwise the garbage collector runs non-stop. Car - more 2 GB on top: the system and Java itself. view-distance No more than 16 we didn't measure.
| Players | Scattering around the world | Playing nearby |
|---|---|---|
| 1 | -Xmx1G (holds 280 MB) | -Xmx1G (with 260 MB) |
| 5 | -Xmx2G (at 620 MB) | -Xmx1G (at 270 MB) |
| 10 | -Xmx2G (holds 1 GB) | -Xmx1G (holds 280 MB) |
| 20 | -Xmx3G (holds 1.8 GB) | -Xmx1G (holds 300 MB) |
| 50 | -Xmx8G (holds 4.3 GB) | -Xmx1G (holds 350 MB) |
| 100 | -Xmx16G (holds 8.4 GB) | -Xmx1G (at 430 MB) |
The vanilla server 26.3, the view-distribution 10, and simulation-distance 10 is the default for the server. The lines over 20 players are the continuation of the straight line.
| view / simulation | Empty server | + per player, apart | + each next next |
|---|---|---|---|
| 6 / 6 | 150 MB | 51 MB | 2 MB |
| 10 / 6 | 150 MB | 87 MB | 2 MB |
| 10 / 10 | 160 MB | 84 MB | 2 MB |
| 16 / 6 | 150 MB | 160 MB | 2 MB |
| 16 / 10 | 150 MB | 160 MB | 2 MB |
The main thing is that the player keeps a square of chunks around him, and with range he grows like a square. Together the players divide the same cups: the first load them as a loner, and each next one is almost worthless. Simulation-distribution has little effect on memory -- compare the lines to one view-distribute: it decides where life goes, not how many tubs are in memory.
- Server. A 26.3 vanilla server from the game files, a normal building world, a 12345 seat. For each range pair, it's a fresh world.
- Players. The bots are the real players of a server without a network, in creative mode; each client asks for range 32 so that the server can send everything they need. They are separated from each other in 2,048 blocks, near each other in several blocks.
- Number. A bunch of Java, after complete garbage collection, is what the server has to hold. The steps are 0, 1, 5, 10, 20 players; at each step, we wait for the cups to be loaded, a minute per lobe and take off three times.
- What was not measured. Plagues and mods, each has its own appetite. Players who run around and load new cups — the player that comes in hold more. Paper and other nuclei — they have their own memory settings.
On top of the pile, Java takes the memory to classes and the code is measured to 170 MB. So the memory of the machine always needs more than -Xmx.
- Reduce view-distance. This is the biggest lever - table above. The key is in server.properties; what does each range do - view-distance and simulation-distance.
- Install Paper. Its anti-lag settings are collected Paper Optimisation Generator.
- Don't give all the machine's memory. The startup file with the required -Xmx will collect startup file generator, and how to start a server from scratch - “How to create a server”.
- Memory of the game, not the server? This is different - "How to Make Less of Memory" in the launcher.
How much RAM does a Minecraft server need?
An empty 26.3 server has about 160 MB. Each player who has gone into his own corner of the world adds about 84 MB at range 10. For 10 players bet -Xmx2G, 20 - -XmX3G.
How much memory does a server need for 20 players?
A vanilla server with a range of 10 -Xmx3G, and a car with 5 GB is needed by the system and Java itself. If players stick together, that's enough -XmX1G.
How much memory does a server with mods and plugins need?
More than vanilla, but how much depends on the set: mods and plagins we didn't measure. Count the vanilla server as a calculator and add a reserve; the exact number will show the server itself under load.
The numbers are measured on the selected Minecraft 26.3 (October 27, 2026) server, after collecting a pile of bot games. The reserve for -Xmx is the advice of the page.