CUDA Error 2: out of memory

Forums: CUDA Error 2: out of memory
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

CUDA Error 2: out of memory

Postby ktheorin1 » Mon Sep 09, 2019 6:13 pm

ktheorin1 Mon Sep 09, 2019 6:13 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
Licensed Customer
 
Posts: 43
Joined: Sun Oct 02, 2016 10:03 pm

Re: CUDA Error 2: out of memory

Postby ktheorin1 » Mon Sep 09, 2019 7:51 pm

ktheorin1 Mon Sep 09, 2019 7:51 pm
Occasionally, it will also say "not all the passes requested for tonemapping are enabled"
ktheorin1
Licensed Customer
Licensed Customer
 
Posts: 43
Joined: Sun Oct 02, 2016 10:03 pm

Re: CUDA Error 2: out of memory

Postby DesiderioAB » Wed Sep 25, 2019 8:51 am

DesiderioAB Wed Sep 25, 2019 8:51 am
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
DesiderioAB
Licensed Customer
Licensed Customer
 
Posts: 1
Joined: Mon Mar 07, 2016 9:08 pm

Re: CUDA Error 2: out of memory

Postby omardex » Wed Sep 25, 2019 2:05 pm

omardex Wed Sep 25, 2019 2:05 pm
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
omardex
Licensed Customer
Licensed Customer
 
Posts: 57
Joined: Wed Oct 21, 2015 4:45 pm
Location: Venezuela

Re: CUDA Error 2: out of memory

Postby aoktar » Wed Sep 25, 2019 3:09 pm

aoktar Wed Sep 25, 2019 3:09 pm
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
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 12705
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: CUDA Error 2: out of memory

Postby bepeg4d » Thu Sep 26, 2019 6:27 am

bepeg4d Thu Sep 26, 2019 6:27 am
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
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 6764
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 8 guests

Thu Dec 12, 2019 10:48 am [ UTC ]