title: -XX:+HeapDumpOnOutOfMemoryError Multiple heap dump creation
body: <p><code>"-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"</code> This parameter will help to take heap dump automatically when server limit is reached.</p>
  
  <p><a href="http://www.oracle.com/technetwork/java/javase/clopts-139448.html#gbzrr" rel="nofollow">http://www.oracle.com/technetwork/java/javase/clopts-139448.html#gbzrr</a></p>
  
  <p>I can see detailed information on above link but, "<strong>OutOfMemoryError</strong>" message prints so many times in my server log times.</p>
  
  <p>So, If the error msg occurs multiple times, will JVM take multiple heap dump ?</p>
  
  <p>Regards,
  Peter</p>