use full descriptive string for out of memory errors

[#55939908]