Profiling

Java Profiling

Getting head dump
2 ways:
1. Use jmap (which is also part of the Sun JDK 6) to dump the heap of a running application to a file using a command line like
jmap -dump:format=b,file=myheap.hprof
or
jmap -heap <pid>

(more…)

Advertisements