The im4java library is throwing an exception while trying to process a 45 MB JPG image. The "magick-****" processing files of around 9.9 GB are getting created and due to the exception thrown they are not getting deleted. I have two queries here.
1) Why is an exception thrown while trying to process a 45 MB file when 30 MB files are getting processed fine.
2) According to the code the temp files and the "magick-****" processing files are supposed to be created at the same location for example /usr/local/tomcat/temp but the "magick-****" files are getting created elsewhere. Due to this we are not able delete the "magic-****" processing files. This is causing the disk space to run out and we are facing issues while processing other small sized files.
Any help or comments from your side would be greatly appreciated.
Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
2 posts • Page 1 of 1
See https://imagemagick.org/script/architec ... tera-pixel. Set your temporary path to a place that has plenty of free space. To ensure the temporary files are removed, set the MAGICK_SYNCHRONIZE environment variable or cache:synchronize define.