Memory Leak: Render Animation Sequence #107714
System Information Mac Studio Max, 64 GB Ram
Operating system: Mac OS Ventura 13.3.1
Graphics card: Metal 32 core GPU
Short description of error
When attempting to render out 100 frame sequence to Tiffs... after 25 to 30 renders @2K using Cycles GPU only (Metal) the Ram usage is through the roof and Blender crashes. It appears that it doesn't flush the RAM between each render... by frame 25 Blender is using all the system RAM and has a swap file of over 100GB. The scene contains a single simple character sculpt with 4 fur curve nodes applied. Average render time when applied to single frame at .1 sampling is about 25 seconds.
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
Hi, thanks for the report. Please share .blend file in which the issue is happening.
Hi, I believe this should now be fixed by (#108083) in Blender 3.6 Beta.
Could you please verify if you are still experiencing the issue in the latest 3.6 daily? https://builder.blender.org/download/daily/
Hello @Michael-Parkin-White-Apple , I am still experiencing the same issue after updating to Blender Beta 3.6. It makes it to frame 30 and then crashes due to insufficient memory. Please find the blend file attached. Thanks
Hi Blender Team,
I am still experiencing the same issue in the full release of Blender 3.6. The memory leak consistently crashes the system at frame 31 of the animation render. Please find the file experiencing the issue attached.
Thanks for the update and .blend file @Russell-L-Tracy-Jr - this gives us some useful clues to help track it down.
@Michael-Jones Absolutely... and Thank You! I've noticed this morning that with release 3.6 the same issue is happening when rendering one off images... the memory isn't getting released. This wasn't the case in 3.5. I rendered that file maybe 9 times over the course of an hour and it crashed the system due to running out of memory.
I have just run upon this thread after googling because I'm having the same issue on a MacBook Air 8GB running Ventura 13.5.2, and I discovered that, in my case, the issue is no longer present in Blender 4.0 Alpha. I'm rendering a 300 frame animation and on Blender 3.6 RAM usage would spike from 1.5GB to 6GB after two frames, and then I'd get a "out of GPU memory" error, while in 4.0 Alpha, after, at the moment, 25 frames rendered, RAM usage is constantly in the 1.60-1.63GB range.
Thanks to all who provided support! I can confirm that with 4.0 Alpha the issue has been resolved. I am able to render the the 100 frame sequence on two separate Apple Silicon machines without fail.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?