java.lang.OutOfMemoryError: Java heap space appears in the log file, or if processing – especially of large documents – is very slow, then PDF-Mapper is not allocated enough memory to process the documents.
Please allocate more memory space to PDF-Mapper. To do this, open the PDF-Mapper installation directory and there the directory
Here you open the file
executor.properties with a plain text editor (
notepad.exe or similar – no Wordpad or Word!).
- Replace the entry
executor.command=java -Xmx384M -jar lib/netx.jar …
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 …
- Contact Form: Link