Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Websocket Cleanup

I am experiencing an issue with a leak of WebSocketSession objects. I believe I might not be closing down sessions properly. I was using the tool and it detected the following. Any ideas of what should I look for. 

At the time the leak was detected, 30724 objects existed of class


These objects had been created at

org.eclipse.jetty.websocket.common.WebSocketSessionFactory.createSession(,, org.eclipse.jetty.websocket.common.LogicalConnection):48

and were being held

in array of java.util.concurrent.CopyOnWriteArrayList

  in al of java.util.concurrent.CopyOnWriteArraySet

    in openSessions of org.eclipse.jetty.websocket.server.WebSocketServerFactory

Back to the top