1
$\begingroup$

I'm getting the OPTIX Cuda error - out of memory, when trying to use OptiX for rendering. When I switch to normal CUDA, there's no issue. Is it beause the OptiX is still work in progress and this is some random bug? My scene is not THAT crazy for it to run out of memory. I'm using RTX 2080 Super Max-Q. I'm not sure which other information would be useful here.

$\endgroup$
0
$\begingroup$

The likely reason why the scene renders in CUDA but not OptiX is because OptiX exclusively uses the embedded video card memory to render (so there's less memory for the scene to use), where CUDA allows for host memory + CPU to be utilized, so you have more room to work with. I do know that OptiX isn't fully stable at the moment, Blender is still working on support for NVIDIA cards, so it could be that.

Things you could do to help make sure it renders:

  • Reduce your texture resolution. Bigger textures == a lot of memory eaten up
  • If you're using sub-surf modifiers like (especially adaptive subdivisions which are super costly) try to set them to lower # of subdivisions, or not use them at all.
  • Reduce the number of vertices in your scene

Personally, I've also tried:

  • Reducing the complexity of textures: Really intense procedural generated textures eat tons of memory too
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.