activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adisi <adi.si...@gmail.com>
Subject ActiveMQ - OutOfMemory Errors (Temporary queues related?)
Date Thu, 18 Jun 2009 14:46:31 GMT

Hi,

ActiveMQ 5.2.0 (But getting same results on 5.3.0). Running in JMS-to-JMS
Bridge mode (other JMS is tibco). Each message arriving gets the following
treatment (logs from 5.3.0):

DEBUG AbstractRegion                 - localhost adding destination:
temp-queue://ID:localhost.localdomain-41563-1245335655264-2:0:1
DEBUG Queue                          -
ID:localhost.localdomain-41563-1245335655264-2:0:1 toPageIn: 200, Inflight:
0, pagedInMessages.size 0
DEBUG AbstractRegion                 - localhost adding destination:
topic://ActiveMQ.Advisory.TempQueue
DEBUG AbstractRegion                 - localhost adding consumer:
ID:localhost.localdomain-41563-1245335655264-2:0:10:1 for destination:
temp-queue://ID:localhost.localdomain-41563-1245335655264-2:0:1
DEBUG AbstractRegion                 - localhost adding destination:
topic://ActiveMQ.Advisory.Consumer.Queue.ID:localhost.localdomain-41563-1245335655264-2:0:1
INFO  JmsQueueConnector              - Created replyTo bridge for
Queue[$TMP$.ENGD.415449FE78CA103A4.15899]
DEBUG Queue                          - netassist.getCallLog toPageIn: 200,
Inflight: 0, pagedInMessages.size 0
DEBUG Queue                          -
ID:localhost.localdomain-41563-1245335655264-2:0:1 toPageIn: 200, Inflight:
0, pagedInMessages.size 0

So every message gets a new topic (that can be seen in the webadmin), a new
consumer, a temp-queue and a reply-to bridge. None of these seem to get
deleted while activemq is up and running. Memory quickly fills up and when
it reaches some level (always 30% of memory) - I start getting a
java.lang.OutOfMemory errors.  

Only when I close the activemq, I can see the resources are removed.

DEBUG AbstractRegion                 - localhost removing consumer:
ID:localhost.localdomain-41563-1245335655264-2:0:-1:1 for destination:
topic://ActiveMQ.Advisory.TempQueue,topic://ActiveMQ.Advisory.TempTopic
DEBUG AbstractRegion                 - localhost removing consumer:
ID:localhost.localdomain-41563-1245335655264-2:0:10:1 for destination:
temp-queue://ID:localhost.localdomain-41563-1245335655264-2:0:1
DEBUG AbstractRegion                 - Removing destination:
temp-queue://ID:localhost.localdomain-41563-1245335655264-2:0:1
DEBUG AbstractRegion                 - Removing destination:
topic://ActiveMQ.Advisory.Consumer.Queue.ID:localhost.localdomain-41563-1245335655264-2:0:1


I found some similar issues in the bug tracker and on forums (
http://issues.apache.org/activemq/browse/AMQ-1979%3Bjsessionid=3955A8F937E700BADDF05CAEEB3C46D6?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
1 ,
http://issues.apache.org/activemq/browse/AMQ-1790?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
2 ), but none seem to have found a solution. Been banging my head against
the wall for a couple of days on it, would be very grateful for some help.

Thanks,

Adi.


-- 
View this message in context: http://www.nabble.com/ActiveMQ---OutOfMemory-Errors-%28Temporary-queues-related-%29-tp24094550p24094550.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message