camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4042) Shutdown the thread pool when the test is over
Date Sun, 05 Jun 2011 10:16:47 GMT

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

Claus Ibsen commented on CAMEL-4042:
------------------------------------

I can see the memory settings Hudson uses is as follows

[camel-trunk] $ /home/hudson/tools/java/latest1.6/bin/java -da -dsa -XX:MaxPermSize=192m -Xmx1024M
-cp /home/hudson/hudson-slave/maven3-agent.jar:/home/hudson/tools/maven/latest3/boot/plexus-classworlds-2.4.jar
org.jvnet.hudson.maven3.agent.Maven3Main /home/hudson/tools/maven/latest3 /home/hudson/hudson-slave/slave.jar
/home/hudson/hudson-slave/maven3-interceptor.jar 59946


My local build uses
MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=512m'

I wonder if we can adjust the MaxPermSize to be higher?

> Shutdown the thread pool when the test is over
> ----------------------------------------------
>
>                 Key: CAMEL-4042
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4042
>             Project: Camel
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.8.0
>
>
> The thread size will keep increasing when we run the tests of camel.
> After digging the code for a while I found there are lots of thread pool are never shutdown
when the test is over.
> We should release these resources after running test.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message