-
Notifications
You must be signed in to change notification settings - Fork 3
/
Launcher服务器.bat
8 lines (8 loc) · 842 Bytes
/
Launcher服务器.bat
1
2
3
4
5
6
7
8
@echo off
@title KinMS079
set path=C:\Program Files\Java\jre7\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%
set JRE_HOME=C:\Program Files\Java\jre7
set JAVA_HOME=C:\Program Files\Java\jre7\bin
set CLASSPATH=.;dist\*
java -server -Xmx4000M -Xms4000M -Xmn2G -XX:PermSize=500M -XX:MaxPermSize=500M -Xss256K -XX:+DisableExplicitGC -XX:SurvivorRatio=1 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=0 -XX:+CMSClassUnloadingEnabled -XX:LargePageSizeInBytes=128M -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+PrintClassHistogram -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -Xloggc:log/gc.log -Dnet.sf.odinms.wzpath=wz server.Start
pause