FW: Attempted build in Hudson causes Subversion OutOfMemoryError

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FW: Attempted build in Hudson causes Subversion OutOfMemoryError

Doucette, Charles
 

-----Original Message-----
From: Doucette, Charles
Sent: Sunday, March 11, 2007 1:04 PM
To: [hidden email]
Cc: George, Joseph
Subject: Attempted build in Hudson causes Subversion OutOfMemoryError

We are running Hudson 1.81.
Recently, our builds started failing and running out of memory.
Is there a way we can reconfigure a Hudson project, Hudson itself, or Tomcat
to use more memory?

Thanks,
Chuck

 U        
ERROR: Error in subversion
org.tmatesoft.svn.core.SVNException: svn: Java heap space
        at
org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.jav
a:62)
        at
org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:313)
        at
org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java
:206)
        at
org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.read(SVNRepositoryI
mpl.java:1002)
        at
org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositor
yImpl.java:568)
        at
org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:162)
        at
org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:32
2)
        at hudson.scm.SubversionSCM$1.invoke(SubversionSCM.java:256)
        at hudson.scm.SubversionSCM$1.invoke(SubversionSCM.java:244)
        at hudson.FilePath.act(FilePath.java:191)
        at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:244)
        at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:222)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:267)
        at
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:141)
        at
hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:107)
        at hudson.model.Run.run(Run.java:533)
        at hudson.model.Build.run(Build.java:99)
        at hudson.model.Executor.run(Executor.java:61)
Caused by: java.lang.OutOfMemoryError: Java heap space Recording
fingerprints

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: FW: Attempted build in Hudson causes Subversion OutOfMemoryError

Kohsuke Kawaguchi-2


Doucette, Charles wrote:
> We are running Hudson 1.81.
> Recently, our builds started failing and running out of memory.
> Is there a way we can reconfigure a Hudson project, Hudson itself, or Tomcat
> to use more memory?

I assume you are running Hudson in Tomcat.

You can check $TOMCAT_HOME/bin/catalina.sh for more details, but I
believe you can do:

   $ export CATALINA_OPTS="-Xmx256m"
   $ catalina.sh [start|run]

I use visualgc [1] to monitor the memory usage of my production system.
It's an excellent tool. Highly recommended.

[1] http://java.sun.com/performance/jvmstat/
--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment