Please Help - CUDA error 2 on device 0: out of memory
Posted: Sun Nov 11, 2018 7:18 pm
So I was working on a scene that included several 8K tree textures. I brought in all the textures, and placed them on the objects without issue. Everything rendered great with no errors. However, when I tried to bring in a new object with 8K textures, Octane might work for a bit, but when I try to adjust something it crashes. Sometimes it might just fail to load to begin with. I've dealt with scenes with far more objects and textures before without issue, but it seems this scene has arbitrarily decided not to work when I try bring in another texture. To be clear, this is an issue with the textures, not the objects themselves. They are all 8K jpegs with displacement. The issue still pops up even with other textures that are smaller.
Error Log:
OctaneRender 3.08.5 (3080500)
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 700 on device 0: an illegal memory access was encountered
-> kernel execution failed(kernel25)
CUDA error 700 on device 0: an illegal memory access was encountered
-> failed to copy memory from device.
device 0: info channel kernel failed
Another error i get when its not the former:
OCT:device 0: failed to upload data texture 23 of context 1
I'm using Titan XP on Cinema 4D with an EGPU enclosure. And all drivers are up to date. Is there any way to fix this issue?
Error Log:
OctaneRender 3.08.5 (3080500)
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 700 on device 0: an illegal memory access was encountered
-> kernel execution failed(kernel25)
CUDA error 700 on device 0: an illegal memory access was encountered
-> failed to copy memory from device.
device 0: info channel kernel failed
Another error i get when its not the former:
OCT:device 0: failed to upload data texture 23 of context 1
I'm using Titan XP on Cinema 4D with an EGPU enclosure. And all drivers are up to date. Is there any way to fix this issue?