I fixed 90% of our lag issues when I setup a startup script when using the parameters for servers that are new in the first post with Monster, so thank you! I do have a question, when you say that setting the heap >4GB can cause garbage collection issues, does that mean that even though our server has 5.5GB of RAM, I shouldn't set -Xmx larger than 4096M so gc will behave itself?
-Xms3072m -XX:PermSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc
My game keeps crashing, says "too small initial heap". What's up with that?
For the server arguments my CPU usage went up like crazy with these arguments. My heap stays small, around 2G, despite having 8G being allocated.
I have the following:
E3-1230v3
16GB memory
120GB SSD
Debian 7 wheezy
Java 7u51 (Oracle JDK)
Did you make sure to retain the "java" at the beginning and the "-jar FTBServer-1.6.4-965.jar nogui" at the end of the first line?Hi, forum members.
The server argument in the OP doesn't seem to work for me. I'm running my server on Windows Server 2008 R2 Standard, with Service Pack 1.
I copy and paste the argument in the .bat file but when I open the file it doesn't seem to load, or it loads something so quickly that I don't see the message and then closes it's self.
Have I done something wrong?
Thanks in Advanced.
SamB167
No it seems I just deleted it all and copy and pasted the argument. I'm not sure how the content of my .bat file should look. I have a couple of servers installed, but only run one at a time, and when I open up the other server and go to the .bat file (which I haven't edited) all that is in there is this - "java -Xms512M -Xmx1G -XXermSize=128m -jar ftbserver.jar"
So where should there be the "-jar FTBServer-1.6.4-965.jar nogui" and the "pause"
Thanks for helping me out it's been annoying me.
java -Xms2048m -Xmx2048m -XX:permSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc -jar ftbserver.jar nogui
pause
Let see if we stop your head from hurtingMy brain hurts,
This is what my .bat file looks like, it doesn't seem to load so I've done something wrong.
"java -Xms2048m -Xmx2048m -XXermSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=60 -XX:+BindGCTaskThreadsToCPUs -Xnoclassgc
-jar ftbserver.jar nogui"
How should my file look?
Thanks again