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

Alan Burlison commented on TIKA-1471:
-------------------------------------

I think you'd probably have to look at performance to see if there's any 
difference between calling it after every document or every N documents - I'm 
guessing every time is simplest.

I logged the issue just so you and people using Tika knew there was a potential 
OOM with PDFBox 1.6, as you say it's already fixed in later PDFBox issues, so I 
think there's nothing more to be done here. I'll mark it as resolved, and 
thanks again for your help.

> OOM with corrupt PDF file
> -------------------------
>
>                 Key: TIKA-1471
>                 URL: https://issues.apache.org/jira/browse/TIKA-1471
>             Project: Tika
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.6
>         Environment: Linux, JVM 1.8.0_25-b17, 64-bit
>            Reporter: Alan Burlison
>            Priority: Blocker
>             Fix For: 1.7
>
>
> Use of PDFBox 1.8.6 by Tika 1.6 is causing OOM errors with corrupt PDF files, 
> due to a bug in PDFBox, see PDFBOX-2493. This makes Tika 1.6 unusable from 
> inside a long-running webapp and I've had to revert to Tika 1.5. Although 1.5 
> also throws errors with the corrupt file it does not cause OOM errors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to