I am currently trying to optimise my Tomcat on a 64bit sever with 4 GB of memory. Here are my current settings and its ticking over nicely:
-Xms256m
-Xmx1024m
-XX:MaxPermSize=256m
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
What I don't quite understand is how they relate to the New Relic charts - is the Eden space heap usage optimal - what should I be aiming on seeing in the reports?
The information in the charts don't exactly have a correlation to the parameters specified fro the JVM at startup because the information provided is a trend. Most, if not all, of the metrics used for the charts for the JVM are averages over the period of time specified in the picker.
To help explain, I'll share the metrics used for each chart:
Heap Memory Usage (MB)
PS Eden Space heap usage (MB)
PS Survivor Space heap usage (MB)
PS Old Gen heap usage (MB)
Non-heap memory pool usage (MB)
Garbage collection CPU time
Class count
Does this help explain the information in the charts sufficiently? Let us know if you need further assistance with this issue.