Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

GC configuration

843829Jun 4 2010 — edited Jun 7 2010
Hello, I met next problem during configuration Tomcat web server.

Server is run on unix box with next JVM and GC flags:
-Xms4096m -Xmx4096m -XX:MaxPermSize=512m 
-server -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode 
-XX:+CMSIncrementalPacing -XX:CMSIncrementalDutyCycleMin=1 
-XX:CMSIncrementalDutyCycle=5 -XX:+UseParNewGC 
-XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled 
-XX:MaxGCPauseMillis=50 -XX:MaxGCMinorPauseMillis=50 -XX:+DisableExplicitGC
I have quite high request load for server 3000 qps.
Server box specification: 2 cpu with (2 core each), 8 GB of RAM.

And I'm seeing very strange java process behaviour:
RAM usage don't exceed 1,5 Gb of RAM, BUT virtual mem is growing right now it is 7,6 GB. But it was upto 10 GB (I restarted server after that).

Do you have any ideas why java works so strange?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 5 2010
Added on Jun 4 2010
1 comment
197 views