research into how JVM argument "XX:+HeapDumpOnOutOfMemoryError" works