Error "Out of Video Memory try to allocate render resource"

I just bought an Unreal Engine Subscription and when I open a project an error saying “Out of Video Memory try to allocate render resource” pops up and closes the project editor? What do I do?