Added out of memory error message.