Adding HeapDumpOnOutOfMemoryError to, well capture heap dumps when we run out of memory #629