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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

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

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

[~[hidden email]] 008060.xls is the one

> 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
>         Attachments: screenshot-1.png
>
>
> 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)