Out of video memory - Nvidia message

Oddly enough I experienced the same thing on fortnite and Hogwarts legacy starting up the game. I legitimately thought it was my video card going out, I have a gigabyte gaming OC 4090 and it scared the poop out of me. I don’t have my CPU overclocked kept everything on auto. I also went and set my GPu overclock to run at stock settings again. Something eventually happened and I’ve been able to play Hogwarts legacy now. Hoping there’s a fix out for this, I think I’m well beyond returning my processor as I bought it at lunch and already sold off my 12,700 KF lol