Insane RAM usage with IRAY
Hi all,
I've been experiencing some crazy RAM usage recently when rendering iRay scenes, which I haven't really experienced before. I'm using i13's Private Party pool scene because I really wanted to play around with that neon sign. It's a small scene. I have 1 G2F and 2 G2M, normal clothes (I think the newport set?) nothing crazy high detail. I have the 100 watt bulb preset on the bulbs and a neon preset with the lumins scaled waaaay down (250) on the sign. I have the default lights as well.
I usually have pandora running on my web browser while I'm rendering fine. This scene brings my RAM usage up to ~14 / 16 GB and crashes my render.
Anyone know what's up? P.S. Try this scene in Iray, it's really nice with it.

Comments
Try converting the three characters and their clothes to props just before you render (though save the scene where they are still characters first in case you wish to adjust their poses). This should reduce the RAM usage by a few GB for rendering. Having said this, 14-16GB does seem very high for what you have described, I would have expected closer to 5 or 6 GB, or less (depends on the number of morphs you have installed for G2F/G2M). Are you only seeing this large RAM usage whilst rendering? or also before rendering.
Only while rendering, yes. While not rendering with everything loaded into the scene and with chrome open I'm sitting at 4-5 GB total. Though my navigataion around the scene is pretty sluggish, which is normally not the case either. I'll try the prop option, though that's a slightly annoying bump in my workflow : /
Maybe I'll also try updating my DS to a newer version. I'm using the first iteration with iray.
The texture atlas can help immensely for items that are not directly in the scene or out of focus. You may also want to consider grabbing Decimator from the store, as it is an effective way to reduce the poly count and thus memory usage for your scene.
This part is pure speculation, but I have a suspicion that the 3DL-to-iray material conversion may take up more memory too. Can anyone shed some light (no pun intended) as to whether this is the case?
What is the texture atlas? Also, I forgot that I didn't convert my shaders to iray shaders. What is the practical difference between using the iray shaders vs the normal uber shaders?
If the shaders are unconverted then the program is going to try sort out surfaces as it goes and that may take longer.
I have the prison shower also from I13 I think. Yes, loading a lot of IRAY textures and lights I have seen very high ram usage. It was the reason I did a ram upgrade recently from 12-16GB. I also had 3 G3 based people in the scene.
That's a relief that it's not just me. My renders go past 12 GB, I had to use 12 a while ago and it was a nightmare. I'm looking to go to 32, but it's like $140.
Hmmm I'll try converting them when I get home and see if that impacts the RAM usage at all. It's crazy because I do renders of the Bar scene which has very high def textures and that uses much less RAM.
I've just started a test render, task manager tells me the Daz Studio (4.8) was using just over 5GB prior to me hitting render. A minute or so later RAM usage by DS seems to have peaked at 22GB and it is now starting to drop back to more 'normal' levels. Render window remains in 'not responding' state, but that will free up shortly. Most (99%?) textures are Iray, either native or converted.
22 GB? Damn, I really need to upgrade my RAM. What craziness are you rendering?
<nod> That "as it goes" bit is the usual showstopper — if you convert your materials before rendering, even if it's only using the Iray Uber Base, then you have the Iray parameters visible and adjustable if something is obviously going off-kilter during the render. This lets you tweak things and re-render, whereas if you don't convert anything, you're stuck with whatever the automatic conversion thinks is a good idea.
It's Winterblack Halls, with 1 G2F, 1 Squee and a couple of props (including a massively scaled down IG dragon breath prop, and a piece of toast).
That's fun to imagine. Crazy that so little uses so much.
Added an Above the Fog prop and it peaked at 25GB ;)