What does this Blender render error mean - OptiX Cycles

Hello there,
I was just rendering my Blender project to find out how it looks, however after pressing render and waiting for about 15 minutes Blender eventually gave me an error. I have attached the error below, I don’t have much other information, I can send the file if you need it. Please could someone advise me what is wrong and how I an fix this.

I have tried closing and re-opening Blender, this hasn’t helped and it still gives me the same error.

I am using the Cycles render engine with OptiX.

Assuming you have already done the usual of rebooting, updating blender, updating drivers, checking you’re not running out of VRAM ecc. this sounds like a bug that should be reported to the developers.

What the error message means is that Blender is internally trying to access some GPU memory it’s not allowed to, similar to a segfault CPU side. This shouldn’t ever happen, and unfortunately there is probably not much you can do about it.

Thank you for your response, I have updated my GPU drivers to the Nvidia Studio Drivers 581.57 (I use an RTX 3070). I have tried rebooting my PC, I am not running out of VRAM, I can see that in task manager and I don’t get close to 8gb.

Hello,
I have just been looking at this a bit more, when the render stops I am using 7.5gb / 8gb of my dedicated GPU memory and 15.1gb / 31.9gb of my shared GPU memory. Before it displays the error it says something about building OptiX acceleration structure (I don’t remember what it said exactly).

Here are the specs of my PC if it helps:
Intel Core i5-14600K14-Core Processor
64GB DDR5 RAM
RTX 3070

This looks like you are running out of VRAM then. Optix’s acceleration structures can be quite large depending on the object, so it’s entirely possible that a single structure doesn’t fit in the .5gb of remaining free memory (if I remember correctly they must be allocated in dedicated memory, not in shared memory).
Try disabling all objects and going through them one by one to see if it’s actually a memory issue or if a particular one is bugged out.

Thank you for your response, I will try your suggestion. I did try rendering using CUDA instead of OptiX but this also didn’t work.