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

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

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

JIRA jira@apache.org

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

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

UNSTABLE: Integrated in Jenkins build tika-branch-1x #43 (See [https://builds.apache.org/job/tika-branch-1x/43/])
TIKA-2659 -- add parameters for max files processed in forkclient, and (tallison: [https://github.com/apache/tika/commit/f2b0e5a9529833736e954b874cd2278dc945a613])
* (edit) tika-parsers/src/test/java/org/apache/tika/parser/chm/TestChmExtraction.java
* (edit) tika-core/src/main/java/org/apache/tika/fork/ForkParser.java
* (edit) tika-core/src/test/java/org/apache/tika/MultiThreadedTikaTest.java
* (add) tika-parsers/src/test/resources/test-documents/mock/system_exit.xml
* (edit) tika-parsers/src/test/java/org/apache/tika/detect/TestContainerAwareDetector.java
* (edit) tika-parsers/src/test/java/org/apache/tika/parser/fork/ForkParserIntegrationTest.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


> 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)