Search found 6 matches

by craig.francis
2020-02-04T04:21:17-07:00
Forum: Users
Topic: Setting map limit
Replies: 10
Views: 2416

Re: Setting map limit

That's impressive, thanks for making a portable version, I had no idea that existed. However I think it's just pointed me to a fairly big issue: magick; -bash: ./magick: cannot execute binary file: Exec format error uname -i; i686 Yep, a 32bit system... great, so I'll have to see what I can do to so...
by craig.francis
2020-02-03T08:40:16-07:00
Forum: Users
Topic: Setting map limit
Replies: 10
Views: 2416

Re: Setting map limit

Thanks magick, Unfortunately I'm not in a position to compile a new version of ImageMagick at the moment. I did try using your suggested command, and it results in the same error. The only way I can get `identify` or `convert` to work is by setting `-limit map 768MiB`, anything larger results in the...
by craig.francis
2020-02-03T04:29:01-07:00
Forum: Users
Topic: Setting map limit
Replies: 10
Views: 2416

Re: Setting map limit

To ensure there is enough disk space before processing begins on an image, set the MAGICK_SYNCHRONIZE environment variable which is ensures the entire file can fit in the disk partition before any processing begins. Hi magick, thanks for the background. I've tried `export MAGICK_SYNCHRONIZE="true"`...
by craig.francis
2020-02-03T04:11:47-07:00
Forum: Users
Topic: Setting map limit
Replies: 10
Views: 2416

Re: Setting map limit

You have 4 GB of RAM. But is that 4 GB the total, or the amount available for IM? In total. The server typically uses about 90MB of RAM, and when running with 1GiB for both MAGICK_MEMORY_LIMIT and MAGICK_MAP_LIMIT, I would assume it's hitting those limits, then move processing to disk... but it cra...
by craig.francis
2020-02-01T04:03:54-07:00
Forum: Users
Topic: Setting map limit
Replies: 10
Views: 2416

Re: Setting map limit

Thanks snibgo, I've been trying to read the documentation, and am I right in saying that ImageMagick will use MAGICK_MEMORY_LIMIT first, for the pixel cache, and if that's not enough, it moves on to MAGICK_MAP_LIMIT? https://imagemagick.org/script/resources.php If so, I should be able to set MAGICK_...
by craig.francis
2020-01-31T14:30:29-07:00
Forum: Users
Topic: Setting map limit
Replies: 10
Views: 2416

Setting map limit

I'm currently trying to get the sizes out of a large TIFF file. But if I set the "map" resource in "policy.xml" to something high (1GiB), I get a "Cannot allocate memory" error. grep 'resource' /etc/ImageMagick-6/policy.xml <policy domain="resource" name="memory" value="3GiB"/> <policy domain="resou...