Page 1 of 1

Memory leak, v2 scene -> v3(SOLVED)

Posted: Tue May 24, 2016 9:38 am
by ratata
Hello,

came upon a case of a memory leak, I opened an v2 scene in v3 and it was gobbling up the RAM until cinema goes out of memory when you hit the render.

On investigation (deleting everything not related to leak) it came down to a combination of Octane Camera Tag and a specific object in the scene, by deleting either of them the problem goes away.

This is of course simply solved by deleting the tag and creating it again in v3, but I guess it still worth reporting since it is not normal behavior.

Octane log gives nothing special just export info, no crash report since it hard crashes - out of memory windows popup.
Krka_oct3_remake_33_leak_0005.zip
(1.18 MiB) Downloaded 242 times
If I render this scene in Live viewer the ram looks like this:
oct3_memoryLeak_01.JPG
And it keeps rising until the crash. And if I delete Oct camera tag, it works fine, or if I delete the Loft mesh, it works fine, only if both are present this happens.

C4D R17, Oct 3.00-R1, Win 10

Cheers,

Sandi

Re: Memory leak, v2 scene -> v3

Posted: Tue May 24, 2016 10:19 am
by aoktar
thanks

Re: Memory leak, v2 scene -> v3

Posted: Tue May 24, 2016 11:10 am
by ratata
Hey aoktar,

some update on this matter, it looks like the problem is I was going back and forth between v2 and v3 with the scene, and I was using a camera tag in v2 that was set to baking in v3, but since v2 has no baking it worked like thinlens, and now when I opened it back in new v3 it recognized baking setting again...

So I guess my machine doesn't have enough RAM to process this...

Re: Memory leak, v2 scene -> v3

Posted: Tue May 24, 2016 11:12 am
by aoktar
I can't see the problem as you said about memory leak. Do you render one frame?

Re: Memory leak, v2 scene -> v3

Posted: Tue May 24, 2016 11:22 am
by ratata
I was rendering just to Live Viewer, I noticed that if I close all other apps, it actually does start redering eventually, but it does eat up alot of RAM before it start then it drops down, but interestingly it doesn't do that if I delete and create a new tag.

So I don't know, I guess the tag got corrupted at some point...

Re: Memory leak, v2 scene -> v3

Posted: Tue May 24, 2016 11:25 am
by aoktar
ratata wrote:I was rendering just to Live Viewer, I noticed that if I close all other apps, it actually does start redering eventually, but it does eat up alot of RAM before it start then it drops down, but interestingly it doesn't do that if I delete and create a new tag.

So I don't know, I guess the tag got corrupted at some point...
Tag does nothing itself on memory/rendering. Octane makes renders. I think "bake camera" is eating much ram and calculation is going hard.

Re: Memory leak, v2 scene -> v3

Posted: Tue May 24, 2016 11:30 am
by ratata
Yep you are right, so the fault for the RAM build up is actually a bad UV map, issue solved, thanks for looking it up.