Export Keeps Failing GL_OUT_OF_MEMORY

I have space so I don't think that is the problem, and my graphics card is a brand new 2060 super. It kept failing on 1080p youtube settings with this error message and I was finally able to get it to work by changing it to facebook 720p, but now I am trying to upload the same video with a minor change and it does not work on any setting, I keep getting the same error message.