mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Harvey (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRMINA-231) SocketConnector thread leak
Date Mon, 31 Jul 2006 11:20:16 GMT
     [ http://issues.apache.org/jira/browse/DIRMINA-231?page=all ]

Brad Harvey updated DIRMINA-231:

    Attachment: ConnectionTest.java

Attaching ConnectingTest which shows problem using VmPipes as well (adapted from http://issues.apache.org/jira/secure/attachment/20356/ConnectionTest.java).

> 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.5
>         Environment: jdk1.5.0_06
>            Reporter: Brad Harvey
>            Priority: Critical
>         Attachments: 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


View raw message