continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: OutOfMemoryError causing build failure that doesn't occur from cmd line
Date Tue, 18 Apr 2006 17:44:49 GMT
maven builds are launch in an other jvm and not with continuum jvm. If you want to set jvm
options 
for maven, you need to set MAVEN_OPTS env var.

Emmanuel

SkipWalker a écrit :
> My multi-project builds a war and uses the tomcat:deploy plugin to deploy the
> war via the tomcat manager app into tomcat.  
> 
> The build works fine from the command line.  However, when run by continuum,
> the build keeps throwing an OutOfMemoryError when trying to deploy the app. 
> I've increased the continuum app init and max heap sizes to 16 and 256 to no
> effect.
> 
> I think the problem may be coming from tomcat or the plug, although it seems
> to happen everytime within continuum, but rarely happens when run from the
> command line.
> 
> The error looks like the following.  It occurrs at the very end of the build
> when the deploy plugin runs.  
> 
> 
> [INFO] Building war: C:\Builds\continuum\work\1\www\target\mywebapp.war
> [INFO] [tomcat:deploy]
> [INFO] Deploying war to http://devserver:80/mywebapp
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Java heap space
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.OutOfMemoryError: Java heap space
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 19 seconds
> [INFO] Finished at: Tue Apr 18 11:17:26 CDT 2006
> [INFO] Final Memory: 13M/63M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> Does anyone have any thoughts?  I suppose I can try and increase the heap
> for tomcat as well.
> 
> Skip Walker
> --
> View this message in context: http://www.nabble.com/OutOfMemoryError-causing-build-failure-that-doesn%27t-occur-from-cmd-line-t1469294.html#a3971983
> Sent from the Continuum - Users forum at Nabble.com.
> 
> 
> 
> 


Mime
View raw message