[
https://issues.apache.org/jira/browse/TIKA-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397425#comment-15397425
]
Egbert commented on TIKA-2045:
------------------------------
Update: I just added -Xmx8G to the java command line for tika-app-1.13.jar and
then it is able to generate some results. However, it is consuming 8 threads at
100% on my laptop while parsing the file, which seems like a little bit too
much for a simple PDF, so I'm guessing it is somehow doing work it shouldn't be
doing.
> TIKA crashes / runs out of memory on simple PDF
> -----------------------------------------------
>
> Key: TIKA-2045
> URL: https://issues.apache.org/jira/browse/TIKA-2045
> Project: Tika
> Issue Type: Bug
> Components: core
> Affects Versions: 1.13
> Environment: Linux, Java 8
> Reporter: Egbert
>
> We're using TIKA embedded in a webcrawler and today I've encountered a PDF
> that results in OutOfMemory errors while being processed by TIKA.
> It's a small, 1 page PDF file, so I don't think that it should consume that
> much memory.
> I verified the problem by using the GUI from the tika-app-1.13.jar file and
> that results in the same error on the same file. The file can be found at:
> http://www.spesmea.nl/pdf/algemene_voorwaarden_bbztcn_2010_nl.pdf
> If I can help by providing any additional information, please let me know.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)