You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/06/07 16:43:00 UTC

[jira] [Commented] (TIKA-2659) Add a parameter to ForkParser to close a client after it has processed x files

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

Hudson commented on TIKA-2659:
------------------------------

UNSTABLE: Integrated in Jenkins build tika-2.x-windows #268 (See [https://builds.apache.org/job/tika-2.x-windows/268/])
TIKA-2659 -- add parameters for max files processed in forkclient, and (tallison: rev 7a69da1ba6b07fed00dbbf0ce7b822c3fb77a381)
* (edit) tika-parsers/src/test/java/org/apache/tika/parser/chm/TestChmExtraction.java
* (edit) tika-parsers/src/test/java/org/apache/tika/detect/TestContainerAwareDetector.java
* (add) tika-parsers/src/test/resources/test-documents/mock/thread_interrupt.xml
* (edit) tika-core/src/main/java/org/apache/tika/fork/ForkClient.java
* (edit) tika-core/src/test/java/org/apache/tika/MultiThreadedTikaTest.java
* (edit) tika-parsers/src/test/java/org/apache/tika/parser/fork/ForkParserIntegrationTest.java
* (add) tika-parsers/src/test/resources/test-documents/mock/system_exit.xml
* (edit) tika-core/src/main/java/org/apache/tika/fork/ForkParser.java


> Add a parameter to ForkParser to close a client after it has processed x files
> ------------------------------------------------------------------------------
>
>                 Key: TIKA-2659
>                 URL: https://issues.apache.org/jira/browse/TIKA-2659
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Trivial
>
> If a parser has a slowly growing memory leak, it would be helpful to close out the client/server and restart it after {{X}} number of files.  We can leave the default to -1, which means never restart based on number of files handled.



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