I know that it's possible to dump heap when an OutOfMemoryException
is occuring on this JVM but is it possible to ask a live dump with tools like jmap
or jconsole
?
OK, I'll finally answer to myself : the application has a remote admin interface, so I will implement a new command that is calling the com.ibm.jvm.Dump.HeapDump()
method.