Websphere Thread Dump & Heap Dump: Joseph Amrith Raj
Websphere Thread Dump & Heap Dump: Joseph Amrith Raj
• When to generate ?
• How to generate ?
• how to debug ?
Thread Dump
What is a Thread Dump?
When to generate ?
then execute
wsadmin>$AdminControl invoke $jvm dumpThreads
Thread dump analysis tool
When to generate?
• To enable automated heap dump generation support, perform the following steps in the
administrative console: (heap dump will generated upon receiving the out.of.memory
exceptios)
– 1. Click Servers > Application servers in the administrative console navigation tree.
2. Click server_name >Runtime Performance Advisor Configuration.
3. Click the Runtime tab.
4. Select the Enable automatic heap dump collection check box.
5. Click OK.
• To generate manually
– use kill -3 PID on unix/linux machines.
http://josephamrithraj.mp
http://josephamrithraj.wordpress.com
http://activexpert.123guestbook.com
http://twitter.com/activexpert
• Feel free to share this
with your friends or on
your website/blog
– Joseph