Hi All,
We use Jboss5 and need to take heap dump when
Jboss is running and when a particular error happens.
If we pass -Xrunhprof:format=b,file=xx.hprof
Or
if we use jmap jmap -dump:format=b,file=heap.bin <pid>
it will write the dump file, but will be of very large size and system gets hang.
So can anybody please help- to take heap dump only if we want (or when a particular error (other than out of memory) happens)
Thanks
Smitha