System:what cpu do you have, how many cores, how much ram, what operating system
if your on windows, start menu-> computer (right click)->properties -> info!!!
java -server -Xincgc -Xmx4G -Xms2G -Xmn1G -XX:NewRatio=2
-XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048
-XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc
-XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90
-XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection
-XX:ParallelGCThreads=4 -XX:+AggressiveOpts
-XX:+UseLargePages -XX:ReservedCodeCacheSize=1G
-cp server_jar_name_here.jar -jar server_jar_name_here.jar
wait i just copy and paste this to the server start.bat?you can try launching the server with this (goes in the start_server.bat)
please note that the command needs to be on a single line, it is spaced out so I can read/tweek it.
also make sure you set your server jar name correctly
If any of that sounds condescending Im sorry but these are problems I have had with people before
Hope it helps.
Code:java -server -Xincgc -Xmx4G -Xms2G -Xmn1G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp server_jar_name_here.jar -jar server_jar_name_here.jar
small print: the above code is tuned to the OPs system your computer may vary
@echo off
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -server -Xincgc -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp craftbukkit.jar -jar craftbukkit.jar
pause
-Xmx1024M
-Xmx2G
%Program Files%\Java\jre7\bin\java.exe
Java GotSpot(TM) Client VM warning: JVM cannot use large page memory because it does not
have enough privilege to lock pages in memory. Error occurred during initialization of VM could not reserve enough space for object heap could not create the java virtual machine.