How you should force heap or thread dump using wsadmin script
Login to your machine running WAS
Navigate to
cd
Connect to deployment manager using wsadmin script
wsadmin.sh
Set object variable
wsadmin> set jvm [$AdminControl completeObjectName type=JVM,process=
Force heap dump
wsadmin> $AdminControl invoke $jvm generateHeapDump
In case you would like to dump threads
wsadmin> $adminControl invoke $jvm dumpThreads
Heap or thread dump will be saved to
Heapdump
heapdump.
Recent Comments