# Xmx and Xms set the maximum and minimum RAM usage, respectively.
# They can take any number, followed by an M or a G.
# M means Megabyte, G means Gigabyte.
# For example, to set the maximum to 3GB: -Xmx3G
# To set the minimum to 2.5GB: -Xms2500M

# A good default for a modded server is 4GB.
# Uncomment the next line to set it.
-XX:+UseG1GC 
-XX:+UnlockExperimentalVMOptions 
-XX:+ParallelRefProcEnabled 
-XX:+AlwaysPreTouch 
-XX:G1NewSizePercent=30 
-XX:G1MaxNewSizePercent=40 
-XX:G1HeapRegionSize=8M 
-XX:G1ReservePercent=20 
-XX:InitiatingHeapOccupancyPercent=15 
-XX:G1MixedGCCountTarget=4 
-XX:G1MixedGCLiveThresholdPercent=90 
-XX:G1RSetUpdatingPauseTimePercent=5 
-XX:SurvivorRatio=32 
-XX:+PerfDisableSharedMem 
-XX:MaxGCPauseMillis=100 
-XX:+OptimizeStringConcat 
-XX:+UseStringDeduplication 
-Dfml.readTimeout=60