CUDA Error 2: out of memory

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
ktheorin1
Licensed Customer
Posts: 43
Joined: Sun Oct 02, 2016 10:03 pm

I've gotten this issue on a few random scenes recently. Where the scene will render all the way through, but won't denoise at the end, so the render is just stuck rendering till you stop it. It's happened both on scenes that have 35 different materials with denser scenes, but also on a scene that had relatively very little in it at all. I've posted the full log below, but can anyone tell me if there's some settings that will help fix this issue or something I'm doing wrong with the materials. I'm using three Titan XP cards on a Macbook Pro.

Started logging on 09.09.19 13:56:09

OctaneRender 4.05 (4050000)

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 2: out of memory
CUDA error 2 on device 1: out of memory
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
CUDA error 2 on device 1: out of memory
-> failed to allocate device array
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: 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 2: out of memory
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
-> failed to allocate device array
CUDA error 2 on device 2: 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 1: out of memory
CUDA error 2 on device 2: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
-> failed to allocate device array
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
-> failed to allocate device array
CUDA error 2 on device 2: 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 1: out of memory
-> failed to allocate device array
CUDA error 2 on device 2: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
-> failed to allocate device array
CUDA error 2 on device 2: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 2: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 2: out of memory
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
CUDA error 2 on device 2: out of memory
CUDA error 2 on device 1: out of memory
CUDA error 2 on device 0: out of memory
-> failed to allocate device array
-> failed to allocate device array
-> failed to allocate device array
denoiserThread0: <:
. Restart required
ktheorin1
Licensed Customer
Posts: 43
Joined: Sun Oct 02, 2016 10:03 pm

Occasionally, it will also say "not all the passes requested for tonemapping are enabled"
DesiderioAB
Licensed Customer
Posts: 1
Joined: Mon Mar 07, 2016 9:08 pm

I have the same problem. It works again when I restart C4d.

My configuration is:
Cinema 4d R21, OctaneRender 4.05 (4050000)
Windows 10 pro, 3 gtx 1080ti.
Nvidia driver version is 436.02
User avatar
omardex
Licensed Customer
Posts: 75
Joined: Wed Oct 21, 2015 4:45 pm
Location: Venezuela
Contact:

I have these errors and error 700 too when I fiddle with advanced 3d image settings in the nvidia control panel or overclocking and the msi afterburner software, when I leave these in the defaults except the fan curve the renders goes normal without errors.

that said these errors are most common in the newer version at least to me being 2019.1 super unstable for this reason (cant even use shadow catcher, infinite floor or an instance without the cuda error showing out).

I have a 980ti and game driver 436.30 so I don't know if this relates to other hardware/driver combination

note: I read in another post that these errors are related to faulty / soon to be faulty video hardware and psu, I hope in any case that that is not the reason.

Best.
Omar Tavera
Awesome Generalist

omardex.artstation.com

Octane render for c4d but moving more toward standalone with one 980ti
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Why guys post here? Topic is from other guy with OSX, making confusing
Btw check images
a1.jpg
a2.jpg
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
bepeg4d
Octane Guru
Posts: 10328
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
under Win 10, please make sure to update to 1903, then perform a clean install of Studio driver 431.86:
https://www.nvidia.com/download/driverR ... 1050/en-us

Under Mac, please make sure to have CUDA 387.178 with Sierra, or 410.130 with High Sierra:
https://www.nvidia.com/en-us/drivers/cu ... r-archive/
All the other versions are not good for OctaneRender.
ciao Beppe
Post Reply

Return to “Maxon Cinema 4D”