Skip to content

Analyzing Java Threaddumps with TDA – Thread Dump Analyzer

by on December 14, 2010

(This blog post is a re-post of an older post which you can find here)

Today I got a bunch of threaddumps to analyze some with 100k of lines. So I was glad that I found TDA – the Thread Dump Analyzer. It’s a great support for analyzing the threaddumps:

  • You can start the whole thing via WebStart.
    I downloaded the JNLP and adjusted the memory setting as with so many threaddumps I reached OutOfMemory very soon. Default is 512m.
  • You can sort “Monitors” by the threads waiting for them – critical monitors are even highlighted with a red background (threshold seems to be around 10 waiting threads).
  • Clicking on the Dump-Nodes in the tree will show you a good summary of the current state.

I only experienced one problem: On initial startup the three-pane-view is not opened correctly. It only showed the threaddumps tree and the summary pane. Workaround: Open one of the dumps and click on the “Monitors” node inside a “Dump” node and see the slightly hidden separator appear to the right of the window. Just slide it to your needs and you have your 3 panes. Actually this might be a Java6 issue.

From → Dev

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s