dumpHeapOnOom property
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;