Adds the -Xmx and -HeapDumpOnOutOfMemoryError Java VM options. The latter is to facilitate debugging.