title: java heap dump is not getting generated
body: <p>not getting java heap dump on outofmemoryerror:
  Tried this (one.exe is my java rcp app):</p>
  
  <pre><code>one.exe -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\Temp
  </code></pre>
  
  <p>but didn't help, the folder path is accessible. I even tried giving name like heap.hprof, but with no result. Can someone guide me here ?</p>