Memory leak cause my computer to freeze when rendering anumation #100061
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#100061
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
System Information
Operating system: macOS-12.5-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 5300M OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.8.101
Blender Version
Broken: version: 3.2.2 Release Candidate, branch: master, commit date: 2022-07-28 14:19, hash:
c857405c0d
Worked: worked on blender ~3.0 but it broke on 3.1+.
Short description of error
when rendering full animations the memory of Blender is raised to 20GB, although the animation is a very simple content. after 300 frames of rendering in the low quality, we are still stuck and the rendering output is blank frames.
The entire compute get stuck and Swap Files rose to 10GB. I have 32 GB of memory.
Exact steps for others to reproduce the error
I will attach the file I render to this ticket.
Update August 19, 2022
The memory issue was fixed in the current 3.2.2 version and in 3.3 version.
but there is an issue with black images rendered from frame 700 in the animation ( in the same file attached).
in the previous versions the black frames occurred from the frame 300 because of memory leak issue.
Added subscriber: @Nisim
how do I attach blender file to the ticket?
blender file reproduce the issue
https://www.dropbox.com/s/cma4svpqeqcocqb/balloons%20Try3.blend.zip?dl=0
Added subscriber: @ErickNyanduKabongo
It seems like I'm having the same problem in Windows with my AMD
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Needs User Info'
From what I understand:
Is that correct?
What does this mean exactly?
Is rendering not working at all and just outputs blank frames?
To Clear my name, the problem that I was having seems to be solved, but rendering my CPU still getting easily up to 97%-98%, that is another problem that I have to track somehow.
I checked on Blender 3.3 Beta and the issue still remain. but I get it after 700 small frames and not 250 frames like before.
the memory looks better, Blender kept on 1-2GB, but the rendering from the frame 700 (using the example .blend file I attached) rendering Empty (blank) image files.
it occurred also in 3.2 but without the memory claiming to 15-20GB.
Someone has to check out this one, I tried to render @Nisim shared blend file, wow!, rendering this light file my CPU is hitting 100%, what is going on?
Changed status from 'Needs User Info' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Needs User Info'
It seems for 3.3, your report is no longer about excessive RAM usage, but blank frames, can you update your report accordingly?
Does it always start producing blank frames at exactly 700 or is it random but happens at around frame 700?
Does it seems to render them correctly but saves blank frames or does it render blank directly?
I can't reproduce the issue myself on the CPU.
I used Mac GPU and CPU. when the RAM issue existed it occurred on about frame #300, but now it starts on frame 700 but it can vary to plus/minus frames.
it occurred all the time
try to run with GPU with latest Mac OS update
Can you update the report description to explain this? As the report still mentions the memory issue specify.
Also:
I added an update to the description.
Changed status from 'Needs User Info' to: 'Needs Triage'
I checked with the current 3.3 Beta and I see the rendering issue still present. see attached file. it started at frame #787. and it occurs there constantly. you can see frame #786 looks ok but all the ones after that looks the same as #787.
Added subscriber: @Alexander-Hartmann
Is it still a macOS specific issue?
Memory consumption was a maximum of 900 MB RAM.
After frame 751 I had to terminate 'Blender'. The UI is frozen. The CPU usage was very high. After 2 to 3 minutes, the CPU usage was at 1-3% and the UI was still frozen. I'll try to reproduce it later in debug mode.
0751.png
system-info.txt
Added subscribers: @mont29, @ideasman42, @brecht
In debug mode (debug build) I could not reproduce this error. Debug build takes up to 20x more time to render a frame.
I checked further with "release build" and ##printf## outputs.
It looks like a "thread lock" problem, but diagnostic function ##PyGILState_GetThisThreadState## returns "NULL" value and function ##PyGILState_Check## returns "0".
After the Python function ##PyGILState_Ensure## it doesn't go any further. On previous two calls I also see ##bpy_context_clear -> PyGILState_Release##
@ideasman42, @mont29, @brecht
(NOTE) Is it an "RNA" problem? Should I further investigate the issue and optimize my output? Or can you already do something with this description?
https://developer.blender.org/diffusion/B/browse/blender-v3.4-release/source/blender/python/intern/bpy_rna.c$8494