Skip to main content
Kofax

Kofax TotalAgility - Failed to process image: Cannot allocate enough memory for processing.

Applies To

  • Kofax TotalAgility 7.4
  • Kofax TotalAgility 7.5
  • Kofax TotalAgility 7.6
  • Kofax TotalAgility 7.7

Issue

When processing a PDF document in KTA, a capture node suspends with the below error.

Failed to process image: Cannot allocate enough memory for processing.

Cause

One possible cause of this is the fact the Pdf has incorrect dimensions. If you open if in Adobe Acrobat and look at is properties (File -> Properties), you will see its dimensions. 

Below is an example of a Pdf with incorrect dimensions.  We can see its width is approx 1.7 meters and it's height  is approx. 2.5 meters.  This is huge which obviously would require a lot of memory in order to process.  This explains why KTA throws the error.

clipboard_e4380c756e8053ac87afa3fcf8ff0f55a.png

 

Ideally to resolve this problem going forward, the user sending these types of Pdf files should be contacted.  They would need to resolve whatever issue their side causing these huge Pdf files.

If urgent, a quick workaround exists to resize the Pdf.  In Adobe Acrobat go to File -> Print.   In the Printer drop down choose Microsoft Print to PDF.  The option to Shrink Oversized Pages should be selected.

clipboard_e74b545a87dd93cf7eeeaa78387ecdfc3.png

When we select Print we are given the option to save the Pdf file.  When we open it and reinspect the dimensions, we can see it has been scaled down to a A4 sized document.  This should allow it to be successfully processed in KTA.

clipboard_e2535eca4900d4561f0ff46b02c5bff21.png