參考資訊:
https://blog.eq8.eu/til/imagemagic-cache-resources-exhausted.html
問題如下:
$ convert -density 300 1.pdf 1.jpg convert-im6.q16: cache resources exhausted `/tmp/magick-3DqhvzE_4wbZAewN-LaTd2VJ7fZcN6FE19' @ error/cache.c/OpenPixelCache/4095.
解法如下:
$ sudo vim /etc/ImageMagick-6/policy.xml <policy domain="resource" name="disk" value="8GB"/>