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

Albert Shau commented on TWILL-177:
-----------------------------------

AbstractTwillController will new a ZKDiscoveryService every time its created. 
This is what's returned when a user calls TwillPreparer.start(), so any process 
that starts twill applications will slowly leak memory.

> ZKDiscoveryService should have a way to remove its connection watcher
> ---------------------------------------------------------------------
>
>                 Key: TWILL-177
>                 URL: https://issues.apache.org/jira/browse/TWILL-177
>             Project: Apache Twill
>          Issue Type: Bug
>          Components: discovery
>            Reporter: Albert Shau
>
> The ZKDiscoveryService adds a connection watcher in its constructor, but has 
> no way to remove it. As a result, if somebody is creating new instances, the 
> number of watches will slowly grow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to