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

Matthias Koch commented on UIMA-6058:
-------------------------------------

[~schor]

"But, if you know (in your particular application instance) when calling a 
ResourceManager instance's destroy(), that the referenced CasManager is not 
shared, and won't be used again, you could null out the reference:  e.g. 
my_resource_mgr.setCasManager(null);"

"Would this method work for your use case?"

Thats exactly what we are doing right now and it fixes the problem.

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

Reply via email to