[ 
https://issues.apache.org/jira/browse/CAMEL-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146985#comment-13146985
 ] 

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

{code}

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <argLine>-Xmx1024m -XX:MaxPermSize=512m</argLine>
        </configuration>
      </plugin>
    </plugins>
  </build>
{code}
                
> Using static queue as a reply queue in InOut pattern causes memory leak
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-2740
>                 URL: https://issues.apache.org/jira/browse/CAMEL-2740
>             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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to