Minecraft

Where do I set RAM buffer, minimum RAM, and Xms/Xmx, and what values should I use?

Short answer

Both memory settings live in the Startup tab as variables: Minimum RAM (Xms) and RAM Buffer, where the value you enter lowers the JVM's usable Xmx by that amount to reserve headroom against OutOfMemory crashes. Use a buffer of 300–500MB for servers under 3GB and 1000–3000MB for 3–10GB and larger. Xms must never exceed Xmx or the server crashes instantly; setting Xms equal to Xmx is a safe, common choice.

Where do I set Xms and Xmx?

In the Startup tab, exposed as the Minimum RAM and RAM Buffer variables.

Xms (Minimum RAM) is the memory floor. RAM Buffer shapes the maximum: the value you enter lowers the JVM's usable Xmx by that much, reserving headroom that prevents out-of-memory crashes.

What RAM buffer value should I use?

300–500MB for servers under 3GB, and 1000–3000MB for 3–10GB and larger.

Pick the range that matches your server's total RAM. The buffer is the headroom that keeps the JVM from running out of memory under load.

Should Xms and Xmx be equal?

It is not required, but it is a safe and common choice for Minecraft servers.

When Xms equals Xmx, the JVM allocates the full heap up front and never has to resize it during play, which keeps memory behavior predictable and matches how most server operators run things. The one hard rule is that Xms must stay at or below Xmx.

Why does my server crash the moment it starts?

Almost always because Xms (Minimum RAM) is set higher than Xmx. Lower the minimum.

Setting the minimum above the maximum is the number-one cause of an instant crash on startup. If your server dies immediately after you touch the RAM variables, check those two values first.

How do I apply new RAM values?

Set the values in the Startup tab, save, then restart the server so they take effect.

Open the Startup tab, set Minimum RAM (Xms) at or equal to Xmx, set the RAM Buffer using the ranges above, save, and start from the Console.

Frequently asked questions

Where exactly are the RAM settings in the panel? In the Startup tab, exposed as the Minimum RAM and RAM Buffer variables.

How big should the RAM buffer be? 300–500MB for servers under 3GB, and 1000–3000MB for 3–10GB and larger.

Is it required to set Xms = Xmx? No, but it is a safe and common choice that avoids heap resizing. Just keep Xms at or below Xmx.

My Minecraft server crashes instantly on startup — why? Check that you did not set the minimum (Xms) above the max (Xmx). That is the classic cause of an instant crash.

What does the RAM buffer actually do? It reserves headroom by lowering the JVM's usable Xmx by the amount you enter, which prevents OutOfMemory crashes.

Still fighting TPS drops after all this? Minecraft is bound by single-thread CPU speed, and most budget hosts will not tell you what chip you are on. Ours is an AMD Ryzen 7 7700 on our Supreme and Ultimate Minecraft plans.