Does your VRam usage "build up" doing image sequences

I have recently been having a heck of a time rendering animations. This is a new problem for me. I am using a 4090 and haven't had this problem until recently. When I render a animation (image series), I run out of VRam around 400-600 images. So my question is after each render, does some memory get stored somehow so it builds up over a large number of renders, like when you render an image series. I have found a Purge Memory utility in my scrips file, but I don't know what it is, how it works, or if it can help. I don't know how to get around this problem. If all I can make is 3 or 4 second videos, I may have to move to another program. I don't want to do that, as it would take a long time to learn starting fresh.  I forgot to mention, I can stop the rendering process every 400 renders, shut down Daz Studio, start it up again and do another 400 and repeat the process, but then rendering overnight or after I go to work does not work out. 

Comments

  • WendyLuvsCatzWendyLuvsCatz Posts: 38,614

    this happened to me a while back after updating my Nvidia driver

     I rolled back to an earlier one and haven't updated since 

    been a few since

  • Richard HaseltineRichard Haseltine Posts: 102,858
    edited February 25

    In general it is not a good idea to render a full aniamtion to a movie format, rather render to a sequence of images and asemble them in a video editor - this has many advanatges, one of which is that you can render as many as you consider safe and then restart Daz Studio before doing another batch of frames (it also allows for editing frames, saving in a format such as PNG that supports an alpha, adding an audi track in the editing, redoing problem areas and just rerendering those, etc.)

    You driver may well be an issue here, though older drivers have security issues so roling back may not be viable.

    Post edited by Richard Haseltine on
  • crosswindcrosswind Posts: 8,119

    Purge Memory script deals with the undo stack in RAM rather than anything related to VRAM consumption. And as Wendy mentioned, in general, rendering with newer drivers consumes more VRAM, it was proved by various testing, i.e. Iray engine reserves more VRAM with newer drivers, scene related used VRAM cannot be 100% released after each render is saved, etc. So especially when you render numerous images with an animated range, you're approaching the "critical point" of running out of VRAM.

    There might be no 100% perfect solution except for optimizing your scene, rendering by batch, etc... I'm afraid.

  • I had this problem for months, then I rolled the NVidia driver to September 2024 and the problem went away.

  • surv0101surv0101 Posts: 50

    doorknob22 said:

    I had this problem for months, then I rolled the NVidia driver to September 2024 and the problem went away.

    If you wouldn't mind, could you share what driver you are using and maybe your GPU?  I am using a RTX 4090 with the 561.09 Studio Driver.  

  • surv0101surv0101 Posts: 50

    Richard Haseltine said:

    In general it is not a good idea to render a full aniamtion to a movie format, rather render to a sequence of images and asemble them in a video editor - this has many advanatges, one of which is that you can render as many as you consider safe and then restart Daz Studio before doing another batch of frames (it also allows for editing frames, saving in a format such as PNG that supports an alpha, adding an audi track in the editing, redoing problem areas and just rerendering those, etc.)

    You driver may well be an issue here, though older drivers have security issues so roling back may not be viable.

    Yes that is what I do. I render the animation as an image series, then take it into Photoshop to assemble them, add music, etc.  I'm using an older driver 561.09. The way I am getting around the problem is I render out 400 frames, shut down Daz Studio, restart and render another 400. That works if I am at home working, but if I go to bed and want to render overnight or want to render while I am at work, the first 400 frames are all I can do. I am not very experienced in programming so these questions might seem dumb but, I use a post-denoiser, I lower the iterations, and use a denoiser at the end of the required iterations(like using 200 iterations and having the denoiser kick in at 190), is this bad to do? Also when I was making 20,30, even 40 second animations(image series),  in one shot, I was using Genesis 8 figures. Now I use a lot of Genesis 9 figures. Is there a large enough difference to cause this?

  • WendyLuvsCatzWendyLuvsCatz Posts: 38,614

    I am using the 561.09 game ready driver (unsure if much different to Studio Driver) with no more issues but have a 2080Ti

    so it may be different depending on the card

Sign In or Register to comment.