While rendering animations after each frame the memory usage jumps drastically. After 3 frames it is using 100% of 32G RAM.
Now developers working with this issue. Please, share your system specs: System\CPU\XXRAM\GPU. Thank you
To anybody having this problem a workaround is using a script to render each frame independent. I did not write the script, see credit at bottom.
import bpyimport timeimport os
scene = bpy.context.scene #variable that fetches current sceneoutputDir = scene.render.filepath #variable that fetches output directoryfilext = scene.render.file_extension #file extension suffix
for frame in range(scene.frame_start, scene.frame_end + 1): #note "frame" is just a variable filepath = os.path.join(outputDir, str(frame).zfill(4)) #variable for file checker
if os.path.isfile(filepath + filext): print('File exists, skipping to next...') else: scene.render.filepath = filepath scene.frame_set(frame) bpy.ops.render.render(write_still=True) time.sleep(3) #wait time in seconds after each frame render, inscreasce if there are dependency/driver related errors
scene.render.filepath = outputDir
#RENDERER SCRIPT FOR FIXING BLENDER 2.80 ANIMATION RENDER PROBLEMS#The name of files will always be frame number (eg. 0000.jpg), Its recommended to separate different takes/versions by folders#This script will use Output settings that you have defined in Properties tab#Original script by John October Rage#Improved by Alumx (with assistence of Bobbe)
Retrieving data ...