Trying to make memory allocation failures more transparent in debug builds