We use this to run a 64-bit 24 GB JVM with additional GC pauses while serving 100+ page requests per second:
-Xms24g -Xmx24g -XX:MaxPermSize=256m -XX:NewRatio=4 -XX:SurvivorRatio=8 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:+UseCMSInitiatingOccupancyOnly -XX:+CMSClassUnloadingEnabled -XX:+CMSScavengeBeforeRemark -XX:CMSInitiatingOccupancyFraction=68
There should be no reason why you cannot specify 100 GB if you have memory. Since we use 32 GB, we also use -XX:+UseCompressedOops to reduce the overhead of 64-bit addressing. In addition, to improve performance, we use -XX:+UseLargePages , however first you need to enable large page support for your OS.
Whitefang34
source share