rodlie / cyan

Cyan Graphics
https://cyan.graphics
Other
89 stars 9 forks source link

Crash with big image #93

Open stalkerGH opened 3 years ago

stalkerGH commented 3 years ago

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?

rodlie commented 3 years ago

Did you set the memory limit in Cyan?

stalkerGH commented 3 years ago

Yes. Screenshot_20201118_120757

rodlie commented 3 years ago

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

stalkerGH commented 3 years ago

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

rodlie commented 3 years ago

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

stalkerGH commented 3 years ago

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