Page MenuHome

Large image render crash with 16bit tiff
Closed, ArchivedPublic

Description

Rendering out a single large image from a 16bit tiff source, with some masks applied. Render size 3456 x 5184.
The render is fine at 10% but crashes at above 60% (render scale). Watching system resources, I have only used 2.33GB of 5.33GB. CPU runs at 100% though.

Win XP r52860

I tried to submit with .blend attached with packed image but 100MB killed upload? I have placed it at dropbox instead. https://www.dropbox.com/s/u52b09z80ho6fdz/photocrash.blend

I am sorry if it duplicates the bug. I couldn't find the firt one at all after submission.

Event Timeline

Is this a 64 bit blender running on 64 bit windows?

Even if there's space free, Blender may still fail to allocate a big enough chunk of memory, especially on Windows where the memory manager isn't that great. The input and final render output image will still be stored in one big chunk. But this image isn't excessively large, so not sure why the compositor uses this much memory.

Sorry I got the memory wrong and I am on 32bit win XP. Infact there is only 4GB available, I guess page swapping should have allowed more? Anyway, still getting crash and sys resources not maxed out.

Page swapping doesn't allow more than 4GB for a single process on 32 bit, you're still limited there by the 32 bit address space. With 64 bit it's bigger and memory fragmentation doesn't hurt as much. Especially on Windows memory will be fragmented quickly and it won't be able to find a big enough memory chunk, even if there is still space free.

More precisely: windows 32 bits won't allow to address more than 1.4 GB for a single program, independent how much memory the system has. Blender's memory manager doesn't handle limits like this, and will always just crash.

I would advice anyone to switch to 64 bits for that reason!

Ton Roosendaal (ton) changed the task status from Unknown Status to Archived.Dec 11 2012, 1:27 PM