Heya glasspelican, was wondering if you could help me out with the server code for my machine?
I am running it on an Alienware MX11 Laptop , the client is running on my desktop so the Alienware is just running the server.
The specs are I7 U640 @ 1.2Ghz, 8GB RAM, Windows 7 Home Premium 64 bit SP1.
Java installed is 64 bit (and the only one installed) Version 7 Update 10 (build 1.7.0_10_b18)
The server runs using the below code:
Code:
O:\Direwolf20_Server>java -server -Xincgc -Xmx4G -Xms2G -Xmn1G -XX:NewRatio=2 -X
X:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallel
RemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -XX:+UseFastAc
cessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:
UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=4 -XX:+Aggress
iveOpts -XX:+UseLargePages -XX:ReservedCodeCacheSize=1G -cp direwolf20.jar -jar
direwolf20.jar
But it gives the following error in the dos box, before running the server:
Java HotSpot(TM) 64-Bit Server VM warning: JVM cannot use large page memory because it does not have enough privilege to lock pages in memory.
The server keep giving the [Warning] Can't keep up.... message
It is playable with two people but every minute or so we get a 7 to 10 second lag spike, that it quite distracting!
Any help greatly appreciated!
ps I thought this post was best here as it carries on from your code to optimise servers. If this is the wrong place or hijacking this thread inappropriately I am quite happy to move it to a new thread.
many thanks
Condor