[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Memory on test suite

clebert.suconic@jboss.com do-not-reply at jboss.com
Fri Aug 14 11:12:32 EDT 2009


I added -verbose:gc for that... 

I could get a much cleaner run by removing the Pinger attributes on Pinger.close:


   public void close()
  |    {
  |       if (future != null)
  |       {                      
  |          future.cancel(false);
  |          future = null;
  |       }
  | 
  |       closed = true;
  |       
  |       channel0.setHandler(null);
  | 
  |       extraHandler = null;
  |       
  |       connectionFailedAction = null;
  |       
  |       channel0 = null;
  |       
  |    }
  | 

extraHandler will have a reference to the PostOffice->MessagingService somehow (I don't remember the exacts now.. but I could get more detail if needed).


I can't commit anything now as I have a bunch of debug/garbage on my work copy now.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249672#4249672

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249672



More information about the jboss-dev-forums mailing list