[infinispan-issues] [JBoss JIRA] (ISPN-4094) Memory leak in RemoteQueryDslConditionsTest

RH Bugzilla Integration (JIRA) issues at jboss.org
Mon Jan 26 09:04:52 EST 2015


    [ https://issues.jboss.org/browse/ISPN-4094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034940#comment-13034940 ] 

RH Bugzilla Integration commented on ISPN-4094:
-----------------------------------------------

Dave Stahl <dstahl at redhat.com> changed the Status of [bug 1083321|https://bugzilla.redhat.com/show_bug.cgi?id=1083321] from VERIFIED to CLOSED

> Memory leak in RemoteQueryDslConditionsTest
> -------------------------------------------
>
>                 Key: ISPN-4094
>                 URL: https://issues.jboss.org/browse/ISPN-4094
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Test Suite - Server
>    Affects Versions: 7.0.0.Alpha1
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>              Labels: 630, testsuite_stability
>             Fix For: 7.0.0.Alpha2
>
>
> A {{RemoteCacheManager}} instance is created for each test method in {{RemoteQueryDslConditionsTest}}, because of the {{@CleanupAfterMethod}} annotation. But the {{@AfterTest}} method that stops the remote cache is only once for the entire class, so all but one of the remote cache managers are not stopped properly.
> {{GenericKeyedObjectPool}} registers a timer in {{EvictionTimer}}, which keeps the pool and the {{TcpTransport}} objects in it alive. And because the size of the buffer used by the transport is very big (1838kb on my system), {{RemoteQueryDslConditionsTest}} and its subclasses can quickly fill up the heap.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list