Compositing large images crashes blender #43745

Closed
opened 2015-02-20 07:42:16 +01:00 by Carlo Andreacchio · 8 comments

System Information
Windows 7 x64 gtx 580

Blender Version
Broken:2967253

Short description of error
We have a project that we are trying to render out its approximately 8k by 18k pixels. Unfortunetly we are unable to upload our production blend file. I will try to create a test file later.

We get these errors with the render:

This one is in the console:
Malloc returns null: len=9676820784 in COM_MemoryBuffer, total 2799253272
Malloc returns null: len=2419205196 in COM_MemoryBuffer, total 2799253272
Malloc returns null: len=9676820784 in COM_MemoryBuffer, total 2799253272
Malloc returns null: len=9676820784 in COM_MemoryBuffer, total 2799253272
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 2799253272
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 2799253272
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900
Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900
Calloc returns null: len=2419426512 in CompositorOperation, total 3404109900
Calloc returns null: len=604856628 in CompositorOperation, total 3404109900

And then we get this one as a window:

"The instruction at 0x4009c213 referenced memory at 0x00000000. The memory could not be written.

Click on OK to terminate the program"

The amount of memory used before the compositing phase is approximately 5GB... we have 12GB in these machines.

**System Information** Windows 7 x64 gtx 580 **Blender Version** Broken:2967253 **Short description of error** We have a project that we are trying to render out its approximately 8k by 18k pixels. Unfortunetly we are unable to upload our production blend file. I will try to create a test file later. We get these errors with the render: This one is in the console: Malloc returns null: len=9676820784 in COM_MemoryBuffer, total 2799253272 Malloc returns null: len=2419205196 in COM_MemoryBuffer, total 2799253272 Malloc returns null: len=9676820784 in COM_MemoryBuffer, total 2799253272 Malloc returns null: len=9676820784 in COM_MemoryBuffer, total 2799253272 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 2799253272 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 2799253272 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=604856628 in COM_MemoryBuffer, total 3404109900 Malloc returns null: len=2419426512 in COM_MemoryBuffer, total 3404109900 Calloc returns null: len=2419426512 in CompositorOperation, total 3404109900 Calloc returns null: len=604856628 in CompositorOperation, total 3404109900 And then we get this one as a window: "The instruction at 0x4009c213 referenced memory at 0x00000000. The memory could not be written. Click on OK to terminate the program" The amount of memory used before the compositing phase is approximately 5GB... we have 12GB in these machines.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @candreacchio

Added subscriber: @candreacchio

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Without a test file, it's very difficult to know what's going on I am afraid. Will mark it as Incomplete for the time being.

Without a test file, it's very difficult to know what's going on I am afraid. Will mark it as Incomplete for the time being.

Added subscriber: @mont29

Added subscriber: @mont29

The code is trying to allocate giant chunks of memory (up to 9.6GB at once it seems!). Even if there were enough free mem (which is not the case here), fragmentation of mem would likely make such a call fail anyway.

Not sure why that happens though, 8k*18k picture should be about 2.3GB of mem in float RGBA? But hard to say more without a file to reproduce it for sure.

The code is trying to allocate giant chunks of memory (up to 9.6GB at once it seems!). Even if there were enough free mem (which is not the case here), fragmentation of mem would likely make such a call fail anyway. Not sure why that happens though, 8k*18k picture should be about 2.3GB of mem in float RGBA? But hard to say more without a file to reproduce it for sure.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2015-02-27 12:17:25 +01:00

No news since one week…

No news since one week…
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#43745
No description provided.