[ 
https://issues.apache.org/jira/browse/STORM-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jungtaek Lim resolved STORM-1756.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.1
                   2.0.0

Thanks [~Srdo], I merged into master, 1.x, 1.0.x branches.

> Storm-kafka tests leak resources due to retained references to KafkaServer
> --------------------------------------------------------------------------
>
>                 Key: STORM-1756
>                 URL: https://issues.apache.org/jira/browse/STORM-1756
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-kafka
>            Reporter: Stig Rohde Døssing
>            Assignee: Stig Rohde Døssing
>             Fix For: 2.0.0, 1.0.1
>
>
> Since JUnit keeps a reference to each test class until all tests for a module 
> have run, the KafkaTestBroker fields are not eligible for garbage collection 
> until all tests have run. KafkaTestBroker keeps a reference to 
> KafkaServerStartable/KafkaServer, which allocates resources that are also not 
> eligible for collection. This very quickly causes surefire to run out of 
> memory if this class is used more than a few places.



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

Reply via email to