[
https://issues.apache.org/jira/browse/UIMA-6058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16864299#comment-16864299
]
Marshall Schor commented on UIMA-6058:
--------------------------------------
Thanks for clarifying. It looks from your trace that the part not getting
cleaned is mMetaDataList, which has the comment:
{code:java}
/**
* accumulates the metadata needed for shared CASes for this resource manager
* Starts out "empty" when this is created; is added to (but never removed)
* Duplicates may be in the list.
*
* Threading: This list is always accessed under the class instance lock.
*/
private final List<ProcessingResourceMetaData> mMetaDataList = new
ArrayList<ProcessingResourceMetaData>();
{code}
I'll have to investigate why the design was such that things are never
removed...
> Pear destroy does not destroy the resourceManagers
> --------------------------------------------------
>
> Key: UIMA-6058
> URL: https://issues.apache.org/jira/browse/UIMA-6058
> Project: UIMA
> Issue Type: Bug
> Reporter: Matthias Koch
> Priority: Major
> Attachments: Screenshot_20190614_095220.png, UIMA-6058.diff
>
>
> the pear wrapper is caching resourceManagers which are not getting destroyed
> on destroy of the pear wrapper.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)