Heavy .exr does not open

Hello, I mostly use Krita to manipulate textures.

This is the first time I have to deal with an .exr that is around 1.8gb. It won’t load in Krita I get an error.

Here are the logs:

Color space: “RGB/Alpha (32-bit float/channel)”

Decoding “HDR Layer” with 3 channels, and color space “RGBAF32”

Error while reading from the exr file: std::bad_alloc

I tried allocating more ram but there’s already around 24gb allocated.

To give more details: The file opens in Photoshop

Can you provide the file? that would make debugging this issue a lot easier

Hey sure. I did not want to share as this is a file under copyrights but it will delete itself in a few days, please don’t share :slight_smile:. In case you’re upset with the name I also tried to remove the first dot, give it a smaller name. And put it in a shorter path on the computer.

Thank you.

It looks like it opens just fine in 6.0.3 but fails in 5.3.3, but with a different error from the one in your post. I’ll look into this issue more on monday.

Thanks, I really appreciate you took some time to help me. I went for 6.0.3 and this works. I am fine with staying on that version from now on

I fixed the issue, the file should work properly in the next release (5.3.4).