On Friday, 27 March 2015 at 03:46:49 UTC, zhmt wrote: > In short words, I want to catch something like > NullPointerException. > > Is this possible? Yes on Linux use: etc.linux.memoryerror which is undocumented for some reason. https://github.com/D-Programming-Language/druntime/blob/master/src/etc/linux/memoryerror.d