On Mon, Jan 10, 2011 at 05:58:42PM -0500, François Schiettecatte said: > http://www.oracle.com/technetwork/java/gc-tuning-5-138395.html (you > need to read this one) > > http://java.sun.com/performance/reference/whitepapers/tuning.html (and > this one).
Yeah, I have these two pages bookmarked :) > jstat is also very good for seeing what is going on in the JVM. I also > recall there was a way to trace GC in the JVM but cant recall how off > the top of my head, maybe it was a JVM option. You can use -XX:+PrintGC and -XX:+PrintGCDetail (and -XX:+PrintGCTimeStamps) as well as -Xloggc:gc.log to log to a file. I'm also finding NewRelic's RPM system great for monitoring Solr - the integration is really good, I give it two thumbs up.