Mindustry

Mindustry

Not enough ratings
Mindustry Performance Guide
By index
Mindustry JVM Arguments Guide
   
Award
Favorite
Favorited
Unfavorite
Java Arguments (Linux Only)
Some of you might think wow performance guide for such a game ?
Well yes because some survival servers you have ridiculous amounts of enemies and every fps counts.
With that said I will share my findings with you below.
First find your game folder.
Easiest way is to click properties in your steam library then click browse game files.
Once you do that you should end up right here:

Next thing you wanna do is copy and paste the provided code below inside Mindustry.json
{ "jrePath": "jre", "classPath": [ "jre/desktop.jar" ], "mainClass": "mindustry.desktop.DesktopLauncher", "useZgcIfSupportedOs": false, "vmArgs": [ "-Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1", "-XX:+ShowCodeDetailsInExceptionMessages", "-Xms10G","-Xmx10G","-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" ] }
With that done, you should be all set, if you still encounter issues feel free to leave a comment.
2 Comments
index  [author] 4 Jan @ 4:22pm 
because I played on a map with 100+ units active, with very high waves, I saw usage of 5gb+ ram easily
Yonaga 15 Jul, 2024 @ 7:43am 
:cq2heart:
:fox_ST::satft2_tail: