How to deal with image processing failures when updating to 0.165.0?

Hello,

I’m currently trying to update to 0.165.0 (from 0.150.1). I have some images failing to process. Is the only way to deal with these errors to shrink the image? Or can I somehow increase the limit? I would prefer to let Hugo do the work on the original image if possible. Thanks.

Error is the usual: “WebPPictureImportRGBA failed: 1 (OUT_OF_MEMORY: Out of memory allocating objects)”

And later: Error encoding NRGBA to WebP

It will be helpful if you will paste link to your Repository and much detailed error logs.

maybe like this one

It’s the known issue that has already been reported and addressed to a certain degree: #14282

For big files, the limit might still not be enough. Therefore the question, if there is a way to increase that? The suggested workaround to resize big images outside of Hugo works, but I would prefer if I could tell Hugo to handle even big files. I have an image gallery where the original is used for zooming. Upgrading to 0.165.0 failed for a few of these images.

The memory allocation is not configurable.