title: What does the jvm option -XX:OnOutOfMemoryError=jmap do?
body: <p>I am trying to monitor a process (which crashed due to Out Of Memory) last time on one production machine. The process is running with <code>-XX:OnOutOfMemoryError=jmap</code> option. What does it mean? Does it mean that it would produce a heap dump on OutOfMemory? or the command <code>jmap</code> is incomplete and should have more to it? </p>