Decimate out of memory crash #61742

Closed
opened 2019-02-20 11:24:04 +01:00 by Sebastian · 7 comments

System Information
Operating system:
Ubuntu 18.10

Graphics card:
GTX 1080
GTX 1060

Blender Version
Broken:
2.80, ec471a9b1c, blender2.8, 2019-02-15, 23:44, as found on the splash screen

Short description of error

I have an object with 27 million faces (I know that is a lot).
In general Blender handles this fine.
But whenever i try to use a Decimate modifier blender kills itself after a short while without an errormessage or anything else.

just the message "killed" appears in the console.

This is reproduceable on my machine, only difference is the time after it crashes (between 5-30sec)

My first assumption is: it is running out of ram, since it always crashes after it reaches 100% of 32gb (see image)
ram.png

i would at least expect an error message to notify the user of the out of memory issue.

Exact steps for others to reproduce the error
Load ChainAnimation.blend ChainAnimation.blend
Apply Array modifier
Add Decimate modifier
set it to any number below 1
wait

**System Information** Operating system: Ubuntu 18.10 Graphics card: GTX 1080 GTX 1060 **Blender Version** Broken: 2.80, ec471a9b1c14, blender2.8, 2019-02-15, 23:44, as found on the splash screen **Short description of error** I have an object with 27 million faces (I know that is a lot). In general Blender handles this fine. But whenever i try to use a Decimate modifier blender kills itself after a short while without an errormessage or anything else. just the message "killed" appears in the console. This is reproduceable on my machine, only difference is the time after it crashes (between 5-30sec) My first assumption is: it is running out of ram, since it always crashes after it reaches 100% of 32gb (see image) ![ram.png](https://archive.blender.org/developer/F6669167/ram.png) i would at least expect an error message to notify the user of the out of memory issue. **Exact steps for others to reproduce the error** Load ChainAnimation.blend [ChainAnimation.blend](https://archive.blender.org/developer/F6669176/ChainAnimation.blend) Apply Array modifier Add Decimate modifier set it to any number below 1 wait
Author

Added subscriber: @hrkrx

Added subscriber: @hrkrx

Added subscriber: @ZedDB

Added subscriber: @ZedDB

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sebastian Parborg self-assigned this 2019-02-20 16:01:39 +01:00

It is not blender that kills itself. It it the linux kernel that kills the process as it has run out of memory.

It is not blender that kills itself. It it the linux kernel that kills the process as it has run out of memory.

Added subscriber: @StephenSwaney

Added subscriber: @StephenSwaney

You didn't mention how much memory you actually have, but since you are running out, you might want to check the process ulimit and/or create a swap file if you don't have one.

You didn't mention how much memory you actually have, but since you are running out, you might want to check the process ulimit and/or create a swap file if you don't have one.
Author

@ZedDB
Thank you for answering :)
Indeed that seems to be the Issue.

@StephenSwaney
As i wrote in the description

it reaches 100% of 32gb

normally that is enough for everything.
I was curious how Blender would handle insane amounts of faces, but i didn't expect it to run out of memory on a decimate modifier.

@ZedDB Thank you for answering :) Indeed that seems to be the Issue. @StephenSwaney As i wrote in the description > it reaches 100% of 32gb normally that is enough for everything. I was curious how Blender would handle insane amounts of faces, but i didn't expect it to run out of memory on a decimate modifier.
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
3 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#61742
No description provided.