tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Jiao Jiang (Jira)" <j...@apache.org>
Subject [jira] [Created] (TIKA-2963) Tika在抽取.xlsx类型的大文件时出现OOM错误
Date Fri, 11 Oct 2019 11:04:00 GMT
Feng Jiao Jiang created TIKA-2963:
-------------------------------------

             Summary: Tika在抽取.xlsx类型的大文件时出现OOM错误
                 Key: TIKA-2963
                 URL: https://issues.apache.org/jira/browse/TIKA-2963
             Project: Tika
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.20
            Reporter: Feng Jiao Jiang
         Attachments: demo.java

对于docx和pptx类型的文件,Tika可配置SAX解析器来提高抽取性能。但是Tika在抽取.xlsx类型的大文件时仍会出现OOM错误,我暂时没有从官方找到解决方案,下面附上自己的代码,也是基于SAX解析器的解决方案,代码可根据实际情况进行参数调优,多有不足之处,大家批评指正,谢谢



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message