On Sat, May 28, 2011 at 7:17 AM, Hirotsugu Asari <asari.r...@gmail.com>wrote:
> Hello, I need some help on getting the snapshots built. (You might have > noticed that our last is 3 weeks old at http://ci.jruby.org/snapshots) > > If you look at the last failure ( > http://ci.jruby.org/job/jruby-dist/lastFailedBuild/console), you see that > we are running out of PermGen space: > > *jar-jruby-dist*: > [echo] jarjaring for dist > [jarjar] Building jar: /builds/jobs/jruby-dist/workspace/lib/jruby.jar > *_osgify-jar_*: > [bndwrap] jruby 8155 0 > [move] Moving 1 file to /builds/jobs/jruby-dist/workspace/lib > *generate-ri-cache*: > [echo] Using JRuby to generate RI cache to > /builds/jobs/jruby-dist/workspace/share > java.lang.OutOfMemoryError: PermGen space > PermGen space > Publishing Javadoc > … > > I tweaked JAVA_OPTS, so that in Jenkins we have: > > -Dfile.encoding=UTF-8 -Xmx2048m -XX:+UseConcMarkSweepGC > -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=1024m > > But it is still failing. The funny thing is that, if I log in to the master > directly and run 'ant dist' in the job's workspace, it works (without > changing JAVA_OPTS) fine. So it may not be the correct thing to tweak. > Hiro: Did you run "ant dist" on the master or the command that I see the CI process run: "ant clean dist-clean test dist apidocs" I dont know if that matters, but seemed like a first easy step to try. -S. > I appreciate any input. >