KB0014970: ImageMagick Files Quickly Fill temp Folder

Applies to: Ephesoft Transact and above


ImageMagick files fill up the temp folder when processing large TIF files.

Root Cause

By default, if any module is unable to complete its processing within 2 hours (120 minutes), the module restarts. If any files are still in processing mode, the batch may move into error when it restarts.


There are two possible ways to resolve this issue:

Enable Optimized TIF Conversion

To resolve this issue, you can use the LibTiff library to process TIF files. This process is significantly faster than ImageMagick. We recommend using this switch when your TIF files size exceeds 15 MB, and have higher resolution and bit depth.

  1. From the Batch Class Management screen, select your batch class and click Open.
  2. Go to Modules > Folder Import > IMPORT_MULTIPAGE_FILES.
  3. Set the Optimized Tiff Conversion Switch to ON.
Figure 1. Enable Optimized TIF Conversion Switch

Increase the Module Timeout

To increase the module timeout:

  1. Open the dcma-workflows.properties file, located at [Ephesoft_Directory]\Application\WEB-INF\classes\META-INF.
  2. Locate the activity.restart.time property.
  3. Set the restart time to a higher number that better suits your workflow needs.

Note: This property is set in minutes.