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

Dan Berindei (JIRA) issues at jboss.org
Mon Jun 30 13:29:24 EDT 2014


Dan Berindei created ISPN-4459:
----------------------------------

             Summary: Memory leak in HotRod 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: Remote Querying, Test Suite - Server
    Affects Versions: 7.0.0.Alpha4
            Reporter: Dan Berindei
            Assignee: Sanne Grinovero
             Fix For: 7.0.0.Final


Even though the HotRod client 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