camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Commented) (JIRA)" <>
Subject [jira] [Commented] (CAMEL-2740) Using static queue as a reply queue in InOut pattern causes memory leak
Date Wed, 09 Nov 2011 12:32:51 GMT


Claus Ibsen commented on CAMEL-2740:

Okay I was using the default maven surefire memory settings which of course is low. 

So I increased the memory setting and have the test be able to run all 1000000 messages


          <argLine>-Xmx1024m -XX:MaxPermSize=512m</argLine>
> Using static queue as a reply queue in InOut pattern causes memory leak
> -----------------------------------------------------------------------
>                 Key: CAMEL-2740
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 2.2.0
>         Environment: Originally reported on Windows 2003 server and recently confirmed
on OSX in a stand alone unit test.
>            Reporter: Qingyi Gu
>            Assignee: Claus Ibsen
>         Attachments: CAMEL-2740 Memory Usage.jpg, CAMEL-2740.tar.gz
> I am running JBoss, ActiveMQ and Camel for my application.   In the InOut pattern,  I
am using a predefined static queue as a reply queue.   After running for a while,  the memory
usage of JBoss keeps growing and growing until it hits outOfMemory error and app server is
totally hung.   I monitor the thread in jconsole,  I can see the jms connection/session keeps
growing and growing.   
> But once I switch to use temp queue for InOut pattern,  this problem goes away.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message