Minecraft server RAM calculator: size heap, plugins, and VPS tiers
Select your Minecraft server software, concurrent player count, plugin or mod count, and view distance to calculate recommended total VPS RAM, safe JVM -Xms/-Xmx heap limits, startup flags, and matching in-stock VPS plans.
- Recommended VPS RAM
- 4 GB
- Safe JVM Heap
- 2.5 GB
- OS Headroom
- 1.5 GB
Minecraft server startup command
Use the filename of your Paper or Purpur server JAR in the launch command.
java -Xms2560M -Xmx2560M -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 paper.jar noguiTracked VPS plans for Minecraft
In-stock IPv4 plans with at least 4 GB of RAM, ranked by ongoing monthly cost.
| Provider and plan | Specs | Ongoing cost | Provider link |
|---|---|---|---|
| RackNerdBlack Friday 4 GB KVM VPS | 4 GB4 vCPU | $4.00/mo | Visit |
| AlphaVPSCheap C4G | 4 GB2 vCPU | $4.39/mo | Visit |
| LuxvpsKVM Rootserver Tiny | 4 GB1 vCPU | $4.95/mo | Visit |
| VPSDimeLinux 4GB | 4 GB2 vCPU | $5.00/mo | Visit |
| OVHcloudVPS-1 | 4 GB2 vCPU | $5.35/mo | Visit |
| ProHosting24Server XS | 4 GB1 vCPU | $5.50/mo | Visit |
RAM sizing formula
View factor = ((2 × view distance + 1) / 21)². Workload = base + players × player allocation + add-ons × add-on allocation + (view factor − 1) × (0.4 + players × 0.04).
The workload is rounded to two decimals with the software base as its lower bound. The smallest tier with enough space for the workload and OS headroom sets the VPS RAM.
The Bedrock Dedicated Server system requirements set a 4 GB minimum RAM tier.
Selected profile: 1 GB base, 0.08 GB per player, 0.035 GB per add-on. Estimated workload: 2.33 GB.
How much RAM does a Minecraft server need for players, plugins, and mods?
A light Paper or Vanilla server for 1 to 5 players runs cleanly on 2 GB to 4 GB of total VPS RAM, while 10 to 25 players with 20+ plugins or heavy Fabric/NeoForge modpacks typically need 6 GB to 16 GB.
Server RAM scales non-linearly with view distance (chunk loading grows roughly with the square of view radius) and modded entity/chunk generators. Because Mojang does not publish a fixed per-player MB quota, this calculator uses an explicit additive model (software base + per-player allocation + plugin/mod allocation + view-distance chunk multiplier + Linux OS headroom) and rounds up to standard VPS memory tiers.
Why should JVM -Xmx stay below total VPS RAM on Linux?
Always leave 1 GB to 2 GB of RAM unallocated outside Java's -Xmx heap limit (1 GB on 2 GB servers, 1.5 GB on 4 GB servers, and 2 GB on 6 GB+ servers) so the Linux kernel, JVM metaspace, Netty network buffers, and disk page cache do not trigger out-of-memory kills.
Setting -Xmx equal to total VPS RAM causes sudden server crashes under chunk generation spikes even when in-game heap usage looks fine. Setting -Xms equal to -Xmx prevents heap resizing pauses on Java servers (Vanilla, Paper/Purpur, Fabric/NeoForge), while Bedrock Dedicated Server runs as a native C++ binary with a 4 GB official minimum RAM floor and requires no JVM flags.
Which VPS specs matter most besides RAM for a Minecraft server?
Fast single-thread CPU performance and NVMe disk I/O determine tick rate (TPS) far more than high vCPU core counts, because Minecraft's primary world tick loop remains heavily single-threaded.
Pair the recommended RAM tier above with a confirmed IPv4 address (for universal reachability across Java Edition and IPv4-only home networks, alongside Bedrock's default IPv6 port 19133), NVMe storage for fast chunk saves, and a datacenter close to your players. Run our AWS Region HTTP Latency Test to check geographic proximity and official provider test IPs, then compare real single-core Geekbench scores in our YABS Benchmark Comparator.