Page MenuHome

Crash when loading huge OpenEXR files
Closed, InvalidPublic

Description

System Information
Windows 10 64 bit
16 GB RAM
Nvidia GTX 750Ti

Blender Version
Broken: 2.78a e8299c8

Short description of error
Blender crashes when loading a huge (25.000 x 25.000) OpenEXR file.
In the console it says: "Error: EXCEPTION_ACCESS_VIOLATION"
However, it works when loading a smaller file (22.000 x 22.000).

Exact steps for others to reproduce the error
Press F11 to bring up the image editor.
Click "Image > Open Image" and select the attached file.

Details

Type
Bug

Event Timeline

Bastien Montagne (mont29) claimed this task.

625M pixels… weights (assuming only RGB floats) 7.5GB (22k×22k would be 'only' 5.8GB)… Your OS must just be unable to allocate such a giant chunk of memory (even if you have e.g. 10GB free, fragmentation may prevent allocation of that kind of mega chunks of RAM).

Just give more RAM to your computer, if you *really* want/need to work with such gigantic images.

LazyDodo (LazyDodo) reopened this task as Open.Dec 2 2016, 10:09 PM

Still, would be nice if we handled a failing allocation a little better than just crashing the process. I asked him to make this ticket so i could look at it.

Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Normal.

Then assign it to yourself - but really doubt we want to handle allocation fault in a generic way here… Even doing so in ImBuf code itself won't be a simple task I bet - and same can happen pretty much anywhere in Blender if you try to create or manipulate insanely big amount of data…

LazyDodo (LazyDodo) closed this task as Invalid.Jan 5 2017, 7:31 PM

Yeah not much we can do about this, get more ram is my best advise.