Terminate emulation on memory allocation failure (Avi Kivity)