One leak source has been found.
Producer sessions were started as (note false)
session = conn.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE);
Consumer sessions started as (note true)
session = conn.createTopicSession(true, TopicSession.AUTO_ACKNOWLEDGE);
and onMessage(message) contains
message.acknowledge();
I think that since producer was not transactional and was with AUTO_ACKNOWLEDGE 
flag, each time when clint call to message.acknowledge(); instance of 
org.jboss.mq.AcknowledgementRequest was created.
---
I've replased true to false in client side and have removed 
message.acknowledge(). It helped much!

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to