continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "murali mohan" <muralih...@gmail.com>
Subject Out Of Memory Error
Date Thu, 20 Mar 2008 10:22:38 GMT
I have now several builds running in Continuum. In one of the builds, i can
see an Out of Memory Error in the logs. The stack trace is given below:

Where should I increase the heap size -
1) In the JAVA_OPTS which is the JVM arguments for the tomcat which runs
continuum
or
2) MAVEN_OPTS which is the JVM arguments for Maven operations.

Murali.


Stack Trace
------------------
2008-03-20 06:22:56,556 [Thread-2] ERROR
org.codehaus.plexus.taskqueue.execution
.TaskQueueExecutor:build-project  - Error executing task
edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
java.lang.Out
OfMemoryError: Java heap space
        at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.getResult(F
utureTask.java:299)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.get
(FutureT
ask.java:128)
        at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exe
cutorRunnable.waitForTask(ThreadedTaskQueueExecutor.java:165)
        at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exe
cutorRunnable.run(ThreadedTaskQueueExecutor.java:127)
Caused by: java.lang.OutOfMemoryError: Java heap space
        at java.lang.AbstractStringBuilder.expandCapacity
(AbstractStringBuilder.
java:99)
        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java
:518
)
        t should then check-out from that tag name in order to commence the
build.at java.lang.StringBuffer.append(StringBuffer.java:307)
        at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:308)
        at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:278)
        at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:272)
        at
org.apache.maven.continuum.configuration.DefaultConfigurationService.
getBuildOutput(DefaultConfigurationService.java:161)
        at
org.apache.maven.continuum.notification.DefaultContinuumNotificationD
ispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:138)
        at
org.apache.maven.continuum.notification.DefaultContinuumNotificationD
ispatcher.goalsCompleted(DefaultContinuumNotificationDispatcher.java:98)
        at
org.apache.maven.continuum.core.action.ExecuteBuilderContinuumAction.
execute(ExecuteBuilderContinuumAction.java:166)
        at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.per
formAction(DefaultBuildController.java:408)
        at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.bui
ld(DefaultBuildController.java:147)
        at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.e
xecuteTask(BuildProjectTaskExecutor.java:50)
        at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exe
cutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
        at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdap
ter.call(Executors.java:442)
        at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run
(FutureT
ask.java:176)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.run
Worker(ThreadPoolExecutor.java:987)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:528)
        at java.lang.Thread.run(Thread.java:595)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message