[
https://issues.apache.org/jira/browse/TIKA-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397450#comment-15397450
]
Egbert commented on TIKA-2045:
------------------------------
Ah, sorry. I must have missed that. I just tried with pdfbox-app-2.0.2.jar.
ExtractText fails with:
> Exception in thread "main" java.io.IOException: You do not have permission to
> extract text
Which is perfectly acceptable as far as I'm concerned; it's giving this
response right away rather than munching on it for several minutes and throwing
an OOM error.
> 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)