Tuesday, January 31, 2006

Profiler

Managed to get a profiler working with eclipse and tomcat. It is called Yourkit and it seems to work pretty well - I just need to figure out HOW it works now! It shows all the objects that have not been garbage collected over a period of time and how big they are etc. (so you can prioritise cleaning up the biggies). It just doesn't seem very easy to trace these objects back to the relevant part of the code. Maybe I am not running it long enough. I would run it on a production server but it might have a significant performance hit. Also I have read that JRockit might be better jdk under high load and similarly Resin for servlet container.

No comments: