GPack/user_jvm_args.txt
2026-03-26 13:17:41 +01:00

23 lines
499 B
Plaintext

# 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.
# -Xmx4G
#-Xms2G
#-Xmx3G
-Xms1536M
#-Xmx2560M
-Xmx3G
-XX:+UseG1GC
-XX:+ParallelRefProcEnabled
-XX:MaxGCPauseMillis=200
-XX:+AlwaysPreTouch
-XX:+OptimizeStringConcat