Page MenuHome

Compositing large images crashes blender
Closed, ArchivedPublic

Description

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.

Details

Type
Bug

Related Objects

Event Timeline

Thomas Dinges (dingto) triaged this task as Needs Information from User priority.

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.

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.

Bastien Montagne (mont29) claimed this task.

No news since one week…