question

F00f C7c8 avatar image
F00f C7c8 asked ·

Peculiar memory leak in C4DtoA 2.3.0.1

I was recently working on some shader related stuff for Arnold 5 and came across a peculiar bug in C4DtoA.

The weird thing is that I've not been able to replicate these results in any other scene, however the scene in question seems to demonstrate the bug 100% of the time. Upon rendering to the picture viewer, Arnold will blow through my RAM almost instantly (all 32GB of it) and begin to swap out to disk. Originally I thought my own code was at fault, however I tried removing all my custom shaders and stripping down the demo scene to the bare basics- just a couple of area lights and a sphere, and it's still doing the same thing.

Anyways, I figured someone at SolidAngle might want to know about this. The scene in question is attached.

Cheers,

-CMPX

PS: I am currently running C4D R17.055 on Mac OS X 10.8.5 with C4DtoA 2.3.0.1 on a 12-core 2.93ghz Mac Pro.

memleak-c4d.zip

c4dtoaarnold5
memleak-c4d.zip (52.5 KiB)
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

The extreme memory usage is caused by the progressive render, which you have enabled in the User Options of the render settings. Note, that it is currently an experimental feature in an unoptimized state (that's why it's not exposed in the render settings).

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

F00f C7c8 avatar image
F00f C7c8 answered ·

I kinda figured that was the problem, but I've been unable to reproduce that behavior in a freshly created scene. I figured that since I was able to capture the glitchy scene in a reproducable state, it might be of some use to someone since it sounds like progressive rendering is still being worked on.

Thanks for the response though!

-CMPX

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.