[ https://issues.apache.org/jira/browse/TIKA-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16364119#comment-16364119 ]
Nicholas DiPiazza edited comment on TIKA-2575 at 2/14/18 2:26 PM: ------------------------------------------------------------------ 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. when one jvm crashes we can just fire up another jvm. was (Author: ndipiazza_gmail): 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)