Snapshot eror on restore

I'm still getting errors from snapshot when trying to restore the site backup. It keeps mentioning the a fatal error related to lack of memory, but the value was increased to 5gb and the issue stills.