Need help with layers

So I have a scene that has over 150 4K textures in it. I have broken up into different layers. When I go to render, it renders the first layer fine and then crashes when it goes to the second later. Am I doing something wrong or do I just need to render each layer one at a time. This only happens when I have Persistent Data turned on and without it, it works but takes forever.

What GPU? Persistent Data increases VRAM usage, and 150 4k textures is probably not lightweight.

I have a 3080. I went back a version and it works. So I don’t know what the issue was