Hi,
I got this simple scene, 1 model with less than 100 polys, 1 backdrop, 3 lights and 2 cameras. The model has shading built up from 3 images (diffuse, bump and a foil shader based on color values).
The model represents a cardboard product with custom print, so I have an illustrator script setup that exports all .AI files to compatible textures and dumps them in the input folder of my Blender project. My blender script then runs through all the different styles, loads and applies the 3 specific images for each style to the shader nodes and renders an image (EEVEE) on camera 1 and a video (140 frames) on camera 2. After rendering, I remove the used texture images from memory.
This all works perfectly if I only render images. However, if I start rendering video as well, it works for 2 or 3 styles, but after that Blender is using so much RAM it starts to hang. Looking at my activity monitor, a chunck of RAM is added to the pile with each frame.
I can imagine that RAM increase during the animation rendering is normal as it combines different renders in a video, but I would expect it to flush RAM once the render sequence is done.
Any thoughts on how to optimise RAM usage in this situation?
Edit: running on Blender 4.0
Thanks,
Andy