{"repo":"Obydux/Minecraft-GraalVM-Flags","free":true,"listed":false,"github":"https://github.com/Obydux/Minecraft-GraalVM-Flags","clone":"git clone https://github.com/Obydux/Minecraft-GraalVM-Flags.git","description":"Minecraft server startup flags for GraalVM","language":null,"stars":154,"topics":["minecraft","minecraft-server","java","java-flags","minecraft-flags","jvm-flags","graalvm","graalvm-flags","minecraft-graalvm"],"license":null,"category":"game-templates","readme_excerpt":"Information ====== These Java flags are meant for Minecraft servers ran with the GraalVM Java Runtime which you can download from here. They only work on Java 17 and higher and they only run on Linux . NOTE: These flags were just put together based on a few sources without proper testing on the actual performance impact. Most of these flags aren't GraalVM specific either. For a more sane way of optimizing the Java GC please read this. GraalVM Java Flags ====== Hosting ====== I highly recommend BisectHosting for your server needs. They have 20 server locations, advanced DDoS protection and an user-friendly panel for server management. Use code OBYDUX to get 25% off! Flag Explanations ====== - --add-modules=jdk.incubator.vector This is only useful for servers running Pufferfish or Purpur on 1.18.2 and above. It enables SIMD operations on your server if they're available and optimizes map rendering. - -XX:+UseG1GC -XX:MaxGCPauseMillis=130 -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=28 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:G1MixedGCCountTarget=3 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -XX:+PerfDisableSharedMem Generic G1GC flags. These flags are very close to Aikar's. - -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5 -XX:G1ConcRSHot","default_branch":null,"files":null,"tree":[],"storefront":"/r/Obydux","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Obydux/Minecraft-GraalVM-Flags/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}