Document Correction Does Not Show Some Documents for Processing – What Should I Do?

Answer:

When validation with document correction is enabled in PDF-Mapper, sometimes documents are not displayed for editing.

This is especially the case for large, multi-page PDF documents.
In the log file appears java.lang.OutOfMemoryError: Java heap space. PDF-Mapper is then not allocated enough memory space to process large documents.

Please allocate more memory space to PDF-Mapper. To do this, open the PDF-Mapper installation directory and there the directory config.
Here you open the file executor.properties with a plain text editor (notepad.exe or similar – no Wordpad or Word!).

  1. Replace the entry
    executor.command=java -Xmx384M -jar lib/netx.jar …
    with
    executor.command=java -Xmx2048M -jar lib/netx.jar …

2. Check that you also have 2GB of RAM available in the operating system. Alternatively, you can also use other values, such as 512M for 512 MByte or 1024M for 1GB of working memory.

3. Stop and restart PDF-Mapper.
The executor-log should then contain a line with
… Starting: java -Xmx2048M -jar lib/netx.jar …

More Information:

  • Automatic Validation: Link
  • 8 Steps to Automatically Process PDF Documents: Link

Was This Post Helpful?