[ 
https://issues.apache.org/jira/browse/TIKA-3642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472674#comment-17472674
 ] 

Tim Allison commented on TIKA-3642:
-----------------------------------

The key point [~tilman] makes is that "tika will fail", not just on PDFs but on 
many files.  Running untrusted code on untrusted input is inherently dangerous; 
this isn't just an issue with Tika.  Take a look at recent iOS updates or 
security notices from Adobe or Microsoft and you're likely to find critical 
security fixes to parsers.  See: 
https://cwiki.apache.org/confluence/display/TIKA/The+Robustness+of+Apache+Tika

> 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)

Reply via email to