-Xms2048m -Xmx2048m -XX
ermSize=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
Setting up:
Copy and paste the above arguments into the .bat/.sh file you use to start your server.
Adjust Xms and Xmx to your desired RAM amount leaving at least 1GB open for PermGen and CodeCache
*note:setting the Heap above 4GB may cause issues with garbage collection