← All JVM profiles
BLOCKVAULT / JVM FIELD NOTES

Minecraft Paper Server

A minimal G1 starting point for a self-hosted server.

MC 26.x (26.1 onward)Java 256 GB heap

Runtime baseline verified against documentation. Confirm your exact loader/mod versions; this is not a measured performance promise.

YOUR LOCAL CONFIGURATION

Set your Java heap.

Starting point · 6 GB
1 GB12 GB

Xmx limits the Java heap, not Minecraft’s total process memory. Leave room for Windows, native memory, browsers and OBS. We never detect or allocate all your RAM. If Xmx drops below Xms, the initial heap is reduced to match.

-Xms4G -Xmx6G -XX:+UseG1GC

Paper server installation

Stop the server and back up its start command. Replace its existing memory/GC flags before -jar with this configuration; retain the existing server JAR path, nogui option and required environment settings. Check your hosting memory limit: native JVM memory needs headroom beyond Xmx. Use Paper’s documentation for workload-specific tuning.

Java compatibility reference

Runtime baselines, not proof that every mod or launcher works. Prefer your launcher’s supported runtime and check the pack’s exact version.

MinecraftJava baseline
1.8.9–1.16.58 (recommended legacy runtime)
1.17.x16 minimum; some launchers use 17
1.18–1.20.417
1.20.5–1.21.x21
26.x (26.1 onward)25

Java 21: generational ZGC uses both UseZGC and ZGenerational. Java 25: use UseZGC alone; ZGenerational is obsolete and ignored with a warning. It expires in Java 26. Never combine G1GC and ZGC. The selector checks your declared runtime, not the Java installed on your PC.

How much RAM should I allocate?
Use caseStarting heap
Classic PvP2 GB
Modern PvP4 GB
Fabric + Sodium4–6 GB
Shaders + Iris6 GB
Vanilla Survival4–6 GB
Forge / NeoForge6–8 GB
Heavy Modpacks8–10 GB
Extreme Modpacks10–12 GB

These are editorial starting ranges, not measured requirements. Extra heap does not automatically increase FPS and may cause memory pressure or longer collections. Follow pack requirements and leave several GB for the OS and other apps; recording needs additional headroom.

What do the flags actually do?
Xms
The initial Java heap allocation.
Xmx
The maximum Java heap allocation, not a total RAM budget.
G1GC
A general-purpose collector balancing throughput and pause-time goals.
ZGC
A mostly concurrent collector designed for short GC pauses. CPU and memory trade-offs vary by workload.
GC pauses
Time the collector stops application threads. Shorter pauses can help consistency; they do not guarantee higher average FPS.
Sources, scope & testing

Reviewed 15 October 2026. These are valid HotSpot-style starting configurations, not gameplay benchmarks. Use a supported 64-bit Java distribution. ZGC availability depends on your platform/build. Loader, mods, CPU, GPU, render distance, shaders and background tasks all affect results.

01 / CLIENT

Vanilla Minecraft

A minimal baseline for unmodded Java Edition.

MC 26.x (26.1 onward)Java 254 GB heap
FPS & PerformanceSurvival & SMP
-Xms1G -Xmx4G -XX:+UseZGC
Customize ↗
02 / CLIENT

Survival / SMP

Everyday exploration and multiplayer survival.

MC 26.x (26.1 onward)Java 256 GB heap
Survival & SMP
-Xms1G -Xmx6G -XX:+UseZGC
Customize ↗
03 / CLIENT

High Render Distance

For memory-hungry worlds and larger view distances.

MC 26.x (26.1 onward)Java 258 GB heap
Survival & SMPShaders & Graphics
-Xms2G -Xmx8G -XX:+UseZGC
Customize ↗