You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Eric Lapierre (JIRA)" <ji...@apache.org> on 2016/08/16 15:03:21 UTC

[jira] [Created] (DIRMINA-1042) Epoll spinning causes memory leak

Eric Lapierre created DIRMINA-1042:
--------------------------------------

             Summary: Epoll spinning causes memory leak
                 Key: DIRMINA-1042
                 URL: https://issues.apache.org/jira/browse/DIRMINA-1042
             Project: MINA
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.13
         Environment: Linux 2.6.18-409.el5 
            Reporter: Eric Lapierre


We get a lot of occurrences of this message : "Create a new selector. Selected is 0, delta = 0"
accompanied with a memory leak.  The SelectionKeyImpl in the fdToKey HashMap of the EPollSelectorImpl don't get remove.

I suspect that the registerNewSelector() method in the org.apache.mina.transport.socket.nio.NioProcessor class should cancel the key.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)