Ensure that sufficient memory is available