Now catching OutOfMemoryErrors.