Added JVM arguments to for GC tuning.
This commit is contained in:
parent
bf5e4bfcbf
commit
8ddf79b7cf
@ -7,3 +7,15 @@
|
|||||||
# A good default for a modded server is 4GB.
|
# A good default for a modded server is 4GB.
|
||||||
# Uncomment the next line to set it.
|
# Uncomment the next line to set it.
|
||||||
-Xmx8G
|
-Xmx8G
|
||||||
|
-Xms8G
|
||||||
|
-XX:+UseG1GC
|
||||||
|
-XX:ParallelGCThreads=12
|
||||||
|
-XX:+DisableExplicitGC
|
||||||
|
-Dsun.rmi.dgc.server.gcInterval=2147483646
|
||||||
|
-XX:+UnlockExperimentalVMOptions
|
||||||
|
-XX:G1NewSizePercent=20
|
||||||
|
-XX:G1ReservePercent=20
|
||||||
|
-XX:MaxGCPauseMillis=50
|
||||||
|
-XX:G1HeapRegionSize=32M
|
||||||
|
-XX:SurvivorRatio=16
|
||||||
|
-Xnoclassgc
|
Loading…
x
Reference in New Issue
Block a user