[infinispan-issues] [JBoss JIRA] (ISPN-4459) Memory leak in Hot Rod client tests

Sanne Grinovero (JIRA) issues at jboss.org
Tue Jul 1 12:36:24 EDT 2014


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

Sanne Grinovero commented on ISPN-4459:
---------------------------------------

NP, just FYI I'm away and things assigned to me won't be processed timely.

More important question: why do you think the leak affects tests only? If they are stopped and still leak, that's something that will affect users and should be clarified (and probably raised of priority)

> Memory leak in Hot Rod client tests
> -----------------------------------
>
>                 Key: ISPN-4459
>                 URL: https://issues.jboss.org/browse/ISPN-4459
>             Project: Infinispan
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Test Suite - Server
>    Affects Versions: 7.0.0.Alpha4
>            Reporter: Dan Berindei
>            Assignee: Mircea Markus
>              Labels: testsuite_stability
>             Fix For: 7.0.0.Final
>
>         Attachments: jprofiler_screenshot.png
>
>
> Even though the HotRod client tests stop their servers, each test instance keeps the reference to the servers it has started (both tests extending HotRodSingleNodeTest and those extending HotRodMultiNodeTest).
> In some tests, like the remote query tests, those servers' worker threads also keep references to huge thread-local {{io.netty.buffer.PoolThreadCache}} s (see attachment). Because of this, I'm sometimes seeing an OOM in the HotRod client suite. We should either clear the server references in the tests, or clear the worker threads when shutting down the server.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list