-server -Xmx{MAX_MEMORY}M -Xms{START_MEMORY}M -Djline.terminal=jline.UnsupportedTerminal -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:+DisableExplicitGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=32 -XX:+AggressiveOpts -XX:UseSSE=4 -XX:PermSize=128m -XX:MaxPermSize=256m -Xincgc -jar "{JAR}" nogui
Java 7:
-Xmn2G -Xss4M -Xms4G -Xmx4G -XX:+UseLargePages -XX:PermSize=256M -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+OptimizeStringConcat -XX:+UseCompressedStrings -XX:+UseBiasedLocking -Xincgc -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=10 -Djava.net.preferIPv4Stack=true
Java 8:
-Xmn2G -Xss4M -Xms4G -Xmx4G -XX:+UseLargePages -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:+UseBiasedLocking -Xincgc -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:+CMSParallelRemarkEnabled -XX:ParallelGCThreads=10 -Djava.net.preferIPv4Stack=true
The command line option, for Java 7, has been tested by Viper-/ and the command line options for Java 8 has been tested by me. Both seems to be working.
I will make sure to change this post, if any of you guys find any problems with any of the options.
EDIT #1: Removed "-XX:+UseStringCache" from Java 8 options, as it's no longer valid.
EDIT #2: Removed "-XX:UseSSE=4", as it defaults to "99" with the newer versions of Java.
'마인크래프트 정보' 카테고리의 다른 글
포지를 설치를 했는데 왜 실행이 안되니... (0) | 2015.02.24 |
---|---|
아직도 모드 수동설치 방법을 모르는 닝겐들에게... (0) | 2015.02.16 |
Server.properties motd= 유니코드화 (0) | 2014.01.26 |
버킷서버 구동기를 만들어보자 (0) | 2014.01.16 |
모드버킷 자세한 설명 (4) | 2013.12.28 |