cache exhausted
Posted: 2019-08-05T12:30:51-07:00
After an upgrade, I'm running into policy trouble.
I don't understand what's going wrong..
Any idea?
I don't understand what's going wrong..
Any idea?
Code: Select all
# convert --version
Version: ImageMagick 6.7.8-9 2019-02-01 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
# identify test.jpg
test.jpg JPEG 1000x450 1000x450+0+0 8-bit DirectClass 68.1KB 0.000u 0:00.000
# convert -debug cache test.jpg test.png
2019-08-05T15:22:54-04:00 0:00.000 0.000u 6.7.8 Cache convert[15142]: cache.c/DestroyPixelCache/1448/Cache
destroy
2019-08-05T15:22:54-04:00 0:00.000 0.000u 6.7.8 Cache convert[15142]: cache.c/DestroyPixelCache/1448/Cache
destroy test.png[0]
convert: cache resources exhausted `test.jpg' @ error/cache.c/OpenPixelCache/4080.
convert: Application transferred too few scanlines `test.jpg' @ warning/jpeg.c/JPEGErrorHandler/313.
convert: cache resources exhausted `test.png' @ error/cache.c/OpenPixelCache/4080.
convert: memory allocation failed `test.png' @ error/png.c/WriteOnePNGImage/8440.
# convert -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
768 1B 3.7253GiB 4GiB 16B 8 60
limits are as follows
<policy domain="resource" name="temporary-path" value="/tmp"/>
<policy domain="resource" name="memory" value="4GB"/>
<policy domain="resource" name="map" value="4GiB"/>
<policy domain="resource" name="area" value="1gb"/>
<policy domain="resource" name="width" value="10MP"/>
<policy domain="resource" name="height" value="10MP"/>
<policy domain="resource" name="disk" value="16eb"/>
<policy domain="resource" name="thread" value="8"/>