[ http://issues.apache.org/jira/browse/DIRMINA-231?page=comments#action_12426879 ] Niklas Therning commented on DIRMINA-231: -----------------------------------------
Trustin, won't this fix potentially bring back the problems from DIRMINA-169? I don't think it's a good idea to wrap the default ThreadPoolFilter in a ReferenceCountingIoFilter. > SocketConnector thread leak > --------------------------- > > Key: DIRMINA-231 > URL: http://issues.apache.org/jira/browse/DIRMINA-231 > Project: Directory MINA > Issue Type: Bug > Affects Versions: 0.9.4 > Environment: jdk1.5.0_06 > Reporter: Brad Harvey > Assigned To: Trustin Lee > Priority: Critical > Fix For: 0.9.5 > > Attachments: ConnectionTest.java, ConnectionTest.java > > > A few new threads are created for new SocketConnectors when they attempt to > connect to a remote host. Two of these (AnonymousIoService-x-y) are not > cleaned up which can eventually lead to OutOfMemoryError or other strange > behaviour. > It can be avoided by reusing SocketConnectors, but I don't think this should > be necessary. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
