Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Latest commit

 

History

History
6 lines (5 loc) · 707 Bytes

JVM.md

File metadata and controls

6 lines (5 loc) · 707 Bytes

Suitable JVM Flags for your Minecraft Client

If you use Eclipse Adoptium JRE/JDK - Ok! Else consider stay at -XX:+UseG1GC, because OpenJDK doesn't contains Shenandoah Garbage Collector

  • -XX:+UseShenandoahGC -XX:+UnlockExperimentalVMOptions -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:SurvivorRatio=32 -XX:+ParallelRefProcEnabled -XX:G1RSetUpdatingPauseTimePercent=5 -XX:MaxTenuringThreshold=1 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:InitiatingHeapOccupancyPercent=15

Install optimized and suitable JDK's