I have 16Gigs of RAM on my computer. Of those Gigs I want to allocate 14 to the server. To do this I have modified the .BAT file from "-Xmx1024M -Xms1024M" to "-Xmx14G -Xms14G". I run on 64bit Java7 and have written the file accordingly. The only issue is after all of this lag still persists. Have I done something wrong? Is there anywhere I can look within the server to verify if the it has actually accepted the changes and allocated more RAM?
Processor specs: AMD Phenom(tm) II X4 955 Processor 3.20 GHz The Processor is doing just fine, no stress there. All I can imagine is that the allocation isn't working properly. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
try setting it to Xmx1024M -Xms14G java is very picky about ram usage. i dont fully understand it myself, but i KNOW that some java applications run better when they are using less ram. also, you dont need 14 GB of ram for a minecraft server. try just 12 and saving 4 GB for the OS
try this : Echo OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" java -server -Xmn4G -Xms8G -Xmx16G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XXarallelGCThreads=5 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -jar craftbukkit.jar PAUSE
Neither of those seemed to work. On Paul's it just told me "incompatible heap sizes". On Ashley's it just said "unrecognizable operation".
It's probably not a ram problem, it could be disk usage, or even network latency. What does speedtest.net say about your internet?
Yes speedtest.net is a big thing. I heard you need around 30mps download speed for 30 players and up. Upload speed is a HUGE thing. The larger it is, the better it is.
Not quite that high, I would recommend ~1mbps upload for every 4-6 players. (if your internet runs at max. capacity)
30mbps upload should be good for~120 players At any rate, ram and processer alone are not enough to successfully run a server.
http://www.speedtest.net/result/1959045056.png Well, If what you all said is correct I should be running the current 8 people quite nicely. Also, Paul, I am currently running that config in the .BAT. I will report back how it works