Friday, January 15, 2010

GC Viewer

GC Viewer:

Was looking for a GC viewer to profile and tune my J2EE application, found this nice little tool from tagtraum industries worked like a charm. All you need to do is, add these java vm parameter (-Xloggc:gc.log -XX:+PrintGCDetails) to write GC activities of your server/application to a file.

1. Download the GCViewer

2. Unzip and click on the jar file.

3. On the GCViewer -> file -> open file select your gc.log file.

4. Look at the nice graph and stats generated on the right side of your window.

5. You can even set an auto reload of the gc.log, to get real time graphs.

No comments: