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

Nicholas DiPiazza commented on TIKA-2575:
-----------------------------------------

It is an "xls" file. Here is the file in question 
[https://drive.google.com/file/d/1Yb41AmXzbpACPhx6U2ytQfkQDBghId3d/view?usp=sharing]
 it is from the digital corpa 
[http://downloads.digitalcorpora.org/corpora/files/govdocs1/zipfiles]

we are calling tika embedded into a java app. 

We are thinking of switching to a pool of tika JVMs running in grpc. 

> Provide a way to abort tika parses when tika input stream buffer grows passed 
> a certain threshold
> -------------------------------------------------------------------------------------------------
>
>                 Key: TIKA-2575
>                 URL: https://issues.apache.org/jira/browse/TIKA-2575
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>            Reporter: Nicholas DiPiazza
>            Priority: Major
>
> Sometimes, for example, you use tika to parse an XLS file that isn't really 
> that big, maybe 60 MB. and suddenly the JVM heap size taken is >800Mb which 
> causes an OOM in my case.
> Can we make an "abort threshold" where the tika parse will halt if parse 
> output bytes exceeds this value?
> Or it is possible for users to already do this themselves by watching the 
> input stream as it grows somehow?
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to