Out of memory with RTX 3090 and 32GB RAM when rendering

Not at all, I have it all closed and I was able to render before but now it won’t let me, and I am rendering in 4k but I have tried hd also but same error