Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with big image #93

Open
stalkerGH opened this issue Nov 18, 2020 · 6 comments
Open

Crash with big image #93

stalkerGH opened this issue Nov 18, 2020 · 6 comments

Comments

@stalkerGH
Copy link

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
Copy link
Owner

rodlie commented Nov 18, 2020

Did you set the memory limit in Cyan?

@stalkerGH
Copy link
Author

Yes.
Screenshot_20201118_120757

@rodlie
Copy link
Owner

rodlie commented Nov 18, 2020

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

@stalkerGH
Copy link
Author

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

@rodlie
Copy link
Owner

rodlie commented Nov 18, 2020

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

@stalkerGH
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants