Monitor, profile, take thread dumps, browse heap dumps
VisualVM Is Designed For You...
This is a brilliant profiling / memory diagnostic tool for java. It takes a little bit of effort to set it up but its worth it. It's hot plugable i.e no need to recompile. Pros: Plug and play.