Estimate how much memory your Minecraft server needs from server type, player count, plugins or mods, and view distance — capped at 32 GB.
Server type
High-performance Paper fork — typical plugin network backend.
Estimates only. Real usage depends on plugins, world size, entities, and player activity. Cap recommendations at 32 GB — beyond that, scale with more instances or better CPU rather than more heap.
Breakdown
1.5 GB1 GB0.5 GB0 GBAikar’s flags (recommended heap)
java -Xms3G -Xmx3G \
-XX:+UseG1GC \
-XX:+ParallelRefProcEnabled \
-XX:MaxGCPauseMillis=200 \
-XX:+UnlockExperimentalVMOptions \
-XX:+DisableExplicitGC \
-XX:+AlwaysPreTouch \
-XX:G1NewSizePercent=30 \
-XX:G1MaxNewSizePercent=40 \
-XX:G1HeapRegionSize=8M \
-XX:G1ReservePercent=20 \
-XX:G1HeapWastePercent=5 \
-XX:G1MixedGCCountTarget=4 \
-XX:InitiatingHeapOccupancyPercent=15 \
-XX:G1MixedGCLiveThresholdPercent=90 \
-XX:G1RSetUpdatingPauseTimePercent=5 \
-XX:SurvivorRatio=32 \
-XX:+PerfDisableSharedMem \
-XX:MaxTenuringThreshold=1 \
-Dusing.aikars.flags=https://mcflags.emc.gs \
-Daikars.new.flags=true \
-jar server.jar noguiSets -Xms and -Xmx to the recommended heap. Tune after monitoring with Spark.
Mine Studios partners with Four Seasons Hosting for Minecraft plans with honest per-GB pricing.