[
https://issues.apache.org/jira/browse/UIMA-5801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526823#comment-16526823
]
Marshall Schor commented on UIMA-5801:
--------------------------------------
This depends on the overall design. One use case shares a resource manager
among many pipelines: Suppose you "scale out" to take advantage of having an 8
- core machine, to run 8 pipelines in parallel. If you have a bunch of
external resources you want to share, you can use a common Resource Manager for
all of these.
Each time you create a Resource Manager and use it for a pipeline, it might
"load"/setup some set of external resources; sharing might be desirable.
> Performance degradation of jCas.reset when repeatedly used in different
> analysisEngines
> ---------------------------------------------------------------------------------------
>
> Key: UIMA-5801
> URL: https://issues.apache.org/jira/browse/UIMA-5801
> Project: UIMA
> Issue Type: Bug
> Components: UIMA
> Affects Versions: 2.1
> Reporter: David Bürkle
> Assignee: Marshall Schor
> Priority: Major
> Attachments: JCasPerformanceTest.java
>
>
> The execution time of jCas.reset() increases linearly when invoked on the
> same jCas.
> This occurs in a loop that builds a new analysisEngine, processes the jCas
> and resets it.
> This does not occur when the same analysisEngine is reused.
> A junit test demonstrating the behaviour is attatched.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)