[Building Sakai] Tinkering with Hudson again

Matthew Buckett matthew.buckett at oucs.ox.ac.uk
Thu Mar 18 07:12:10 PDT 2010


On 18 March 2010 13:16, Maurer, Christopher Wayne <chmaurer at iupui.edu> wrote:
> Hey folks,
> I've been tinkering with Hudson a little bit again and am still having problems getting a job to build as a maven 2 project.  If I do it as a "free-style software" project it'll work.  There's got to be something up with my configuration.  Every time it gets to the step of "Parsing POMs", it runs out of heap space.  I've been changing around the maven_opts and java_opts and setting various mem options for the job as well as global maven opts in hudson but nothing seems to be working.

Is this hudson running out of heap space or the spawned Maven job?
I think I've seen this before, but can't remember how I fixed it.

> Can anyone out there that is running hudson share any of their config/setup so I could
> compare and see what I may be doing wrong?

I'm building Sakai (various things) on stickleback:

http://stickleback.oucs.ox.ac.uk:8080/

Hudson runs with:

JAVA_ARGS="-Xmx512m -XX:MaxPermSize=128m -server -Djava.awt.headless=true"

and for my sakai-trunk hudson build I have

MAVEN_OPTS -Xms384m -Xmx512m -XX:PermSize=96m -XX:NewSize=64m

building with Maven 2.2.1 and JDK 1.5

-- 
  Matthew Buckett
  VLE Developer, LTG, Oxford University Computing Services


More information about the sakai-dev mailing list