[
https://issues.apache.org/jira/browse/TIKA-3642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472266#comment-17472266
]
Tim Allison commented on TIKA-3642:
-----------------------------------
If you have files, it is always best to call TikaInputStream.get(path). A bunch
of parsers are much more efficient with files. Start there. If that doesn’t
help, try the max main memory parameter.
> Getting java.lang.OutOfMemoryError: Java heap space when parsing PDF file
> -------------------------------------------------------------------------
>
> Key: TIKA-3642
> URL: https://issues.apache.org/jira/browse/TIKA-3642
> Project: Tika
> Issue Type: Bug
> Reporter: Tika User
> Priority: Major
>
> When parsing large PDF files(1.65 GB) we are getting out of memory error. The
> version we are using 2.0.25(pdfbox)
> java.lang.OutOfMemoryError: Java heap space at
> org.apache.pdfbox.pdfparser.COSParser.isString
--
This message was sent by Atlassian Jira
(v8.20.1#820001)