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

timfox do-not-reply at jboss.com
Sat Aug 15 12:57:22 EDT 2009


One othing I noticed: Now if you don't close your jms connections or core client sessions you'll see a warning in the logs when it's closed at gc.

You'll notice that *lots* of tests in the test suite are throwing warnings - in other words we have many poorly written tests that don't close connections properly!

And yes you're right. If you don't close a connection, with the invm transport, it will keep a reference right through to the server and back which will mean whole servers won't be garbage collected.

This should be fixed now (when I commit in the next few hours)

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

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



More information about the jboss-dev-forums mailing list