]
Mircea Markus updated ISPN-4094:
--------------------------------
Labels: 630 testsuite_stability (was: 640 testsuite_stability)
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: