Bugs item #940379, was opened at 2004-04-22 17:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=940379&group_id=22866

Category: JBossMQ
Group: v4.0
Status: Open
Resolution: None
Priority: 5
Submitted By: jrosso (jrosso)
Assigned to: Nobody/Anonymous (nobody)
Summary: Memory Leak in DLQHandler

Initial Comment:
In the class org.jboss.ejb.plugins.jms.DLQHandler the 
method "handleRedeliveredMessage" calls 
l"incrementResentCount" which either gets or adds an 
entry to the resentBuffer Hashtable.  

There is only one case where entry is removed from the 
buffer, this happens in the same method when the 
message is sent to the DLQ.  

There are a couple of very likely cases were the entries 
will gather in the resentBuffer and never be removed:

1.  If the message is redelived and acknowledged in less 
times than the "MaxTimesRedelivered" setting.  

2.  If you have multiple instances of JBoss receiving from 
a Queue or shared subscription.  If it is redelivered on 
one instance, but delivered or handled to DLQ on 
another, then the entry will remain in the resentBuffer 
on each instance other than the DLQ handling instance 
(if any).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=940379&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to