-
1. Re: RemotingServiceImpl retaining ~165mb ram
clebert.suconic May 31, 2011 5:57 PM (in response to yo_)First, you should move to the latest version at least. (2.2.2)
Second: HornetQ will keep messages in memory (as most message systems). So I would expect a message system to be holding messages in memory as long as they are not acked, right?
-
2. Re: RemotingServiceImpl retaining ~165mb ram
clebert.suconic May 31, 2011 5:59 PM (in response to clebert.suconic)You can start using paging if you like less memory usage.
Also: read the manual. This is explained on the basic chapters about architecture. Read the paging chapter as well.
-
3. Re: RemotingServiceImpl retaining ~165mb ram
yo_ May 31, 2011 6:09 PM (in response to clebert.suconic)Bumping versions is not possible. Also we've experienced degraded performance and stability with 2.2.2
Can you explain though why on each of those MessageReferenceImpl the "queue" is the biggest consumer of memory and not the message. That seems to indicate it is not messages but something related to the queues themselves.
See screenshots 4/5
-
4. Re: RemotingServiceImpl retaining ~165mb ram
clebert.suconic May 31, 2011 6:17 PM (in response to yo_)The performance issue is probably due to a fix I made on Branch_2_2_EAP now (and which will be out soon and merged on trunk). You can try that branch if you like.
Regarding the MessageReference. MessageReferences are held on the Queue. I'm not sure what would you expect?
-
5. Re: RemotingServiceImpl retaining ~165mb ram
clebert.suconic May 31, 2011 6:17 PM (in response to clebert.suconic)The performance issue is probably due to a fix I made on Branch_2_2_EAP now (and which will be out soon and merged on trunk). You can try that branch if you like.
That would be only true if you were using paging BTW.
-
6. Re: RemotingServiceImpl retaining ~165mb ram
clebert.suconic May 31, 2011 6:18 PM (in response to clebert.suconic)Consume your messages and those will disappear.
-
7. Re: RemotingServiceImpl retaining ~165mb ram
yo_ May 31, 2011 7:00 PM (in response to clebert.suconic)The delivery count is 1 on those - wouldn't be 0 if they weren't consumed?
-
8. Re: RemotingServiceImpl retaining ~165mb ram
clebert.suconic May 31, 2011 7:16 PM (in response to yo_)They are probably consumed but not ACKed then.
They will be on the delivering state until you ACK then.