Mindustry

Mindustry

评价数不足
Mindustry Performance Guide
由 index 制作
Mindustry JVM Arguments Guide
   
奖励
收藏
已收藏
取消收藏
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 条留言
index  [作者] 1 月 4 日 下午 4:22 
because I played on a map with 100+ units active, with very high waves, I saw usage of 5gb+ ram easily
Yonaga 2024 年 7 月 15 日 上午 7:43 
:cq2heart:
:fox_ST::satft2_tail: