You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nicholas DiPiazza (JIRA)" <ji...@apache.org> on 2018/02/14 05:00:00 UTC

[jira] [Updated] (TIKA-2575) Provide a way to abort tika parses when tika input stream buffer grows passed a certain threshold

     [ https://issues.apache.org/jira/browse/TIKA-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicholas DiPiazza updated TIKA-2575:
------------------------------------
    Description: 
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 buffer size grows passed a certain amount? 

Or it is possible for users to already do this themselves by watching the input stream as it grows somehow?

 

 

  was:
Sometimes 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 buffer size grows passed a certain amount? 

Or it is possible for users to already do this themselves by watching the input stream as it grows somehow?

 

 


> 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 buffer size grows passed a certain amount? 
> 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)