rodlie/cyan

Crash with big image

stalkerGH opened this issue · 6 comments

Thank you for Cyan. I'm testing it with big image - 256 MB, 9168x7376 px TIFF, Adobe RGB color profile. When I open it with deafult 2 GB memory limit, it shows error message:

CacheResourcesExhausted @ error/cache.c/OpenPixelCache/3865

I'm trying to increase a memory limit gradually, up to 8 GB (my laptop has 8 GB of RAM) but every time Cyan is killed without any additional information.

ImageMagick limits are set as follows:

$ identify -list resource
Resource limits:
Width: 214.7MP
Height: 214.7MP
List length: 18.446744EP
Area: 16.496GP
Memory: 7.68162GiB
Map: 15.3632GiB
Disk: unlimited
File: 768
Thread: 8
Throttle: 0
Time: unlimited

How can I debug it?

Did you set the memory limit in Cyan?

Yes.
Screenshot_20201118_120757

Ok, then it's probably something else. I will take a look after work today. If possible send me the file.

Unfortunately I can't send it because it's too big (over 250 MB) and copyrighted.

That's ok, I will create a new image with the same dimensions and test later.

If it helps, the file is uncompressed TIFF, 600 dpi.