Persistent data –> Out of GPU memory (macOS) #110520
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#110520
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.6.6
Graphics card: M1
Blender Version
Broken: 3.6.1
Worked: (newest version of Blender that worked as expected)
Short description of error
If "Persistent data" checkbox is on, after a couple of frames rendering, Blender is quits or just says "Out of GPU memory" (a MacOS bugreport and screenshots are attached)
If I turn OFF persistent data switcher, animation rendering is working fine. It seems, the data is persistent, but the BVH loading happens on all frames, so the memory filling up.
Exact steps for others to reproduce the error
GPU-memory-OUT.blend.zip
Could you provide a simplified file, or mention any of the Demo-Files so we can replicate the problem?
It seems the link for the blender file disappeared...
Im trying to upload to here directly.
Unable to confirm on windows (4.0,
8a735d0aa4c7
). ~1.6GB VRAM was utilized during the render by persistent data cache.@vintezis , are you rendering on CPU or GPU? How much RAM/VRAM you have? And how much is utilized during render?
As you see on screenshots its macOS on M1 SoC. RAM is 16GB unified memory and of course GPU rendering is set.
It seems to me in this case persistent data always added to the previous dataset from previous frame. Thats why the RAM is overflowing.
Increase in memory usage is expected as said in the manual: https://docs.blender.org/manual/en/dev/render/cycles/render_settings/performance.html#final-render
This is still unanswered 😅
Could this be mac specific? @mano-wii will you be able to test on mac system?
the error message is "Out of GPU memory" and i wrote in previous comment "GPU rendering was set".... so yes im using GPU for rendering
If this is mac specific then its 3.6 (or 3.5) specific also because about one year ago wasn't any problem with this file on the same computer.
Ah, right. Title itself mentions the word "GPU"
I'll reset the status.
Could be related to #106552
There might be memory leak when rendering with Persistent data, hence the higher memory usage (~18 GB as shown in the screen shot)
Could you check this issue again in recent 4.0 build?: https://builder.blender.org/download/daily/
@mano-wii ^
I can confirm by rendering just 1 of the frames in the attached file. (Which helps since each frame takes 17 minutes to render).
I tested on 4.0 and monitored activity to check memory. The RAM memory is no more than 8GB.
I imagined that
b7fe84d9bc
might improve this situation.It's possible this is a case where Blender simply ran out of VRAM memory due to the complex scene.
I'm not sure if it's actually a Metal bug.
While we want to improve Blender to handle system running out of memory gracefully, this is not currently considered a bug.
May need investigation from the Cycles team.