add -XX:HeapDumpOnOutOfMemoryError
1731, fix aborting state