Properties Editor -> Material Tab -> Cycles auto renders icon which crashes blender when the material uses up too much ram #46001

Closed
opened 2015-09-03 08:40:34 +02:00 by Carlo Andreacchio · 7 comments

System Information
Windows 7 x64 GTX580, 16gb ram

Blender Version
Broken: 90f6675

Short description of error
Pretty much it is hard for artists to manipulate a objects material easily without the auto preview icon being fired off... Which poses a problem when dealing with large textures on low ram machines (look at the 42k resolution bugs I have been reporting :) )

Exact steps for others to reproduce the error

  1. open up previously uploaded file F170781 on a low ram machine (12gb or 16gb should still crash)
  2. open up node editor whilst keeping the material tab open
  3. disconnect the image texture and reconnect
  4. CRASH!
**System Information** Windows 7 x64 GTX580, 16gb ram **Blender Version** Broken: 90f6675 **Short description of error** Pretty much it is hard for artists to manipulate a objects material easily without the auto preview icon being fired off... Which poses a problem when dealing with large textures on low ram machines (look at the 42k resolution bugs I have been reporting :) ) **Exact steps for others to reproduce the error** 1. open up previously uploaded file [F170781](https://archive.blender.org/developer/F170781/42ktest.blend) on a low ram machine (12gb or 16gb should still crash) 2. open up node editor whilst keeping the material tab open 3. disconnect the image texture and reconnect 4. CRASH!

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @candreacchio

Added subscriber: @candreacchio

Added subscriber: @Sergey

Added subscriber: @Sergey

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2015-09-03 11:15:21 +02:00

If preview render is not possible, then final rendering is even likely to fail.. Surely it's always possible to improve memory usage or handle out-of-ram issues more gracefully, but wouldn't consider this a bug.

So thanks for the report, but considering it a TODO.

If preview render is not possible, then final rendering is even likely to fail.. Surely it's always possible to improve memory usage or handle out-of-ram issues more gracefully, but wouldn't consider this a bug. So thanks for the report, but considering it a TODO.

The problem lies that we tend not to have loads of high ram machines around... we tend to render off the ec2 which have the high amounts of ram... the artists still have to work on their low ram machines.

Understand that this isnt a big priority, just wanted flag it for the future.

The problem lies that we tend not to have loads of high ram machines around... we tend to render off the ec2 which have the high amounts of ram... the artists still have to work on their low ram machines. Understand that this isnt a big priority, just wanted flag it for the future.

It's more like a known problem which i've already tried to improve by avoiding having OIIO communication happening for previews.

Ideally, previews could share the same image pixels datablock, but in practice it's a bit tricky because Cycles might need to have different alignment than Blender is doing, plus user counter becomes more of a problem.

Also, out of memory can happen in other areas than texture loading. Additionally, OOM killer on linux can kill Blender before code itself will detect it run out of memory.

In any case, if you're building Blender yourself you might be interested to check D1502.

It's more like a known problem which i've already tried to improve by avoiding having OIIO communication happening for previews. Ideally, previews could share the same image pixels datablock, but in practice it's a bit tricky because Cycles might need to have different alignment than Blender is doing, plus user counter becomes more of a problem. Also, out of memory can happen in other areas than texture loading. Additionally, OOM killer on linux can kill Blender before code itself will detect it run out of memory. In any case, if you're building Blender yourself you might be interested to check [D1502](https://archive.blender.org/developer/D1502).
Sign in to join this conversation.
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
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#46001
No description provided.