Posts

Showing posts from April, 2016

How to generate the Heap dump in Websphere Application Server

Image
Heap Dump :-  Heap dump is basically snapshot of the all live object which is living in the heap memory and provide the details of memory which is consume by each and every object in the memory pool What is the use of heap dump :- With the help of heap-dump we can find the issue of out of memory and memory leakage issue and ensure the better performance of the jvm. We can generate the Heap dump two type. 1. Generate heap dump through wsadmin tool Step :-  Go to the profile bin of the respected server for Example:- Step1 . cd /opt/IBM/WebSpeher/AppServer/Profiles/AppSrv01/bin ./wasadmin   -user wasadmin -password wasadmin Step 2. set the parameter <wsadmin> set jvm [$AdminControl completeObjectName type =JVM, process=<servername>,*] Step 3. Invoke the command. <wsadmin>$AdminControl invoke $objectName generateHeapDump Execute this command three times in the interval of the atleast 3 or 4  second . See The Real Example:- ...