dumpHeapOnOom property

bool? dumpHeapOnOom
getter/setter pair

If true, save a heap dump before killing a thread or process which is GC thrashing or out of memory.

The location of the heap file will either be echoed back to the user, or the user will be given the opportunity to download the heap file.

Implementation

core.bool? dumpHeapOnOom;