On 28.8.15 2:11 , Robert Munteanu wrote:
On Fri, 2015-08-28 at 12:26 +0200, Michael Dürig wrote:
java.lang.OutOfMemoryError: PermGen space [1]. I'm seeing these quite
often lately. This looks like Maven itself runs out of PermGen space.
Does anyone know how to configure this for Jenkins?
My first gues would be the 'JVM Options' input in the 'Build' section.
Thanks, added -XX:MaxPermSize=128m there and started a new build. Lets
see how this goes.
https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/369/
Michael
If that does not work, I would try setting an environment variable for
the build. Can you try enabling 'Prepare an environment for the run'
and then filling in 'Properties content' with something like
MAVEN_OPTS="-XX:MaxPermSize=256m -Xmx..."
HTH,
Robert