[jboss-user] [JBoss Remoting] - Re: Jboss Remoting 2.5.1 in Jboss 5.1.0GA and potential memory leak

mravi do-not-reply at jboss.com
Fri Mar 16 03:36:42 EDT 2012


mravi [https://community.jboss.org/people/mravi] created the discussion

"Re: Jboss Remoting 2.5.1 in Jboss 5.1.0GA and potential memory leak"

To view the discussion, visit: https://community.jboss.org/message/724235#724235

--------------------------------------------------------------
Initially some close() methods were missing but I added them and still it was the issue. (BiSockets getting collected). Then I realised for every message, InitialContext and ConnectionFactory are being instantiated. But all close() methods were called. 

I changed the code to get InitialContext and ConnectionFactory once per queue. Now the BisocketServerInvokers are limited in number. But I still did get why BisocketServerInvokers are getting accumulated when I open 1 InitialContext and ConnectoryFactory per message, but still calling all close().
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/724235#724235]

Start a new discussion in JBoss Remoting at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120316/65e08845/attachment.html 


More information about the jboss-user mailing list