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

Egbert edited comment on TIKA-2045 at 7/28/16 1:07 PM:
-------------------------------------------------------

That's what I thought, however, the PDFBox FAQ says it can't just be ignored:

https://pdfbox.apache.org/1.8/faq.html

It says:

PDF documents have certain security permissions that can be applied to them and 
two passwords associated with them, a user password and a master password. If 
the “cannot extract text” permission bit is set then you need to decrypt the 
document with the master password in order to extract the text.

So that means that unless you provide a password, it will not extract text from 
this document. TIKA may be attempting to do something smart, but I really 
wouldn't know where to be looking for that.


was (Author: madegg):
That's what I thought, however, the PDFBox FAQ says it can't just be ignored:

https://pdfbox.apache.org/1.8/faq.html

[quote]PDF documents have certain security permissions that can be applied to 
them and two passwords associated with them, a user password and a master 
password. If the “cannot extract text” permission bit is set then you need to 
decrypt the document with the master password in order to extract the 
text.[/quote]

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

Reply via email to