How much memory needed by the server

Minecraft 26.3

The calculator by number of players and range of the drawing. The numbers are measured on this 26.3 server with game bots, not guessing.

  • empty server 160 MB
  • + 84 MB per player
My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

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.

Calculate server memory

10 players, range 10 and 10, players Scattering around the world: the server keeps about 1 GB. Place -Xmx2G, and the machine needs from 4 GB. Collect start-up file from -Xmx2G

-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.

What's the memory for 1, 10, 20, 100 players?

PlayersScattering around the worldPlaying 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.

What did you intend?

view / simulationEmpty server+ per player, apart+ each next next
6 / 6150 MB51 MB2 MB
10 / 6150 MB87 MB2 MB
10 / 10160 MB84 MB2 MB
16 / 6150 MB160 MB2 MB
16 / 10150 MB160 MB2 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.

How they measured it

  • 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.

How to get by with less

Frequently asked questions

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.

More on the wiki

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.