-
1. Re: Jboss Remoting 2.5.1 in Jboss 5.1.0GA and potential memory leak
ron_sigal Mar 15, 2012 11:16 PM (in response to mravi)Hi,
Could you take a look at the thread "Problem for Timer of BisocketServerInvoker" (https://community.jboss.org/thread/111400?tstart=0), in particular, the last note, by Andrea Ippolito, and see if it is relevant?
Thanks,
Ron
-
2. Re: Jboss Remoting 2.5.1 in Jboss 5.1.0GA and potential memory leak
mravi Mar 16, 2012 3:36 AM (in response to ron_sigal)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().
-
3. Re: Jboss Remoting 2.5.1 in Jboss 5.1.0GA and potential memory leak
ron_sigal Mar 17, 2012 12:34 PM (in response to mravi)Have you tried profiling? I use jprofiler to find out what's going on in memory when I have a problem.