]
Dan Berindei updated ISPN-4459:
-------------------------------
Component/s: (was: Remote Querying)
Memory leak in Hot Rod clients
------------------------------
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 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.