10 March 2015

Heap Dump

#HEAP DUMP

 #/apps/java/jdk1.6_25-64/bin/jmap -dump:format=b, file=/apps/heapJmap.bin (PID)

it will say heap dumped into the location

 #/jhat -J-mx1024m /apps/heapJmap.bin

 it will start the http client stating started HTTP server on port 7000 server is ready
 then hit the URL http://localhost:7000

NOTE: due to JDK-6614052 : jhat fails to read heap dump >2GB

 Br,
Punit

No comments:

Post a comment