Iray - Render Falls Back on CPU After a Few Renders
So I know that when rendering in Iray, if your scene is too big in terms of VRAM for your graphics card to handle, the render will fall back onto the CPU, which takes substantially longer. What I've noticed is that when loading a scene, the first render I do in that scene, it will render using the graphics card. But if I keep doing different renders, say for instance if I'm trying to check and make sure I'm tweaking surfaces how I want them, eventually after a few renders it will start rendering with the CPU even if I've added nothing to the scene.
If I save the scene and then close out DAZ, and then reopen the same scene it'll start to render again with the graphics card for a few times. Is there anyway around this? When I open up task manager I see that with each render, DAZ takes up more memory so I'm guessing that has something to do with it maybe? Any suggestions appreciated.
NOTE: my graphics card is a GTX 750 ti with 2 gb VRAM
Comments
Are you closing the renders when done ot are they accumulating in a series of open wndows?
I tend to close them. Could it be something related to the temporary files that Daz creates? Would that explain why Daz will have a larger memory footprint after extended use?
Did you perhaps stop a render before it was showing anything? If I do that often, but not always, refuses to use GPU untill I have rebooted my computer.
The temp files are cached on your hard drive, so they shouldn't be eating up RAM. That said, things like the undo stack are kept in memory, though.
Ahh I just did a test though, and closing test renders does substantially cut down on RAM usage..that might have been my main problem after all. Is there anyway to clear the undo stack?
In the Scripts folder should be a Purge Memory script...I'm not sure exactly where, in there, it lives by default, because I moved mine up to the 'top' level of that folder and made a Custom Action for it (that puts it in the Scripts drop down at the top of the UI..or adds Scripts if there isn't anything there).
Ok thanks, found it. However I'm still having the same issue. When I close the renders that's staves it off for a while, but eventually after I do enough renders it's going to start rendering with the CPU regardless of scene size....