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.
Generating Manually
use kill -3 PID on unix/linux machines.
Invoke the generateHeapDump operation on a JVM MBean, for example,
* Finding JVM objectName:
<wsadmin> set objectName [$AdminControl queryNames WebSphere:type=JVM,process=<servername>,
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.
Generating Manually
use kill -3 PID on unix/linux machines.
Invoke the generateHeapDump operation on a JVM MBean, for example,
* Finding JVM objectName:
<wsadmin> set objectName [$AdminControl queryNames WebSphere:type=JVM,process=<servername>,
node=<nodename>,*]
* Invoking the generateHeapDump operation on JVM MBean:
<wsadmin> $AdminControl invoke $objectName generateHeapDump
heap dumps can be found under profile_root\profile-name with naming heapdump.<date>..<timestamp><pid>.phd
Use HeapAnalyzer or MDD4J for analyzing heap dumps
* Invoking the generateHeapDump operation on JVM MBean:
<wsadmin> $AdminControl invoke $objectName generateHeapDump
heap dumps can be found under profile_root\profile-name with naming heapdump.<date>..<timestamp><pid>.phd
Use HeapAnalyzer or MDD4J for analyzing heap dumps
0 comments:
Post a Comment