I use this code and all lags dissapear and the game is smooth and nice, But now instead it suddenly takes all my memory.. i have 16 gig ram, and i takes 1-2 hours and then it use it all... Wha the hell can be wrong?
java -Xmx14G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalPacing -XX
arallelGCThreads=1 -jar direwolf20.jar nogui -server -XX:+AggressiveOpts -XX:UseSSE=4 -XX:+UseFastAccessorMethods -XX:CMSFullGCsBeforeCompaction=1 -XX:+CMSParallelRemarkEnabled -XX:+UseCMSCompactAtFullCollection -XX:+UseParNewGC -XX:+DisableExplicitGC -XX
arallelGCThreads=4
PAUSE
One square is 5 seconds from left to right..
server was running almost 2 hours before this hadppened, Sometimes it takes 30 min.. sometimes it takes 5 hours.
This started to happen after i changed the .BAT file so i guess the problem is there.
But with normal .batfile it lags instead :/