[WG: Sakai QA] 2.7.x Branch

Steve Swinsburg steve.swinsburg at gmail.com
Thu Oct 21 14:03:24 PDT 2010


It looks like the Maven script only explicitly uses the MAVEN_OPTS:
e.g from the bottom of /usr/local/m2/bin/mvn:

exec "$JAVACMD" \
  $MAVEN_OPTS \
  -classpath "${M2_HOME}"/boot/classworlds-*.jar \
  "-Dclassworlds.conf=${M2_HOME}/bin/m2.conf" \
  "-Dmaven.home=${M2_HOME}"  \
  ${CLASSWORLDS_LAUNCHER} $QUOTED_ARGS



On 22/10/2010, at 7:52 AM, Maurer, Christopher Wayne wrote:

> But won't maven just use the java_opts?
> 
> Chris
> 
> From: Steve Swinsburg <steve.swinsburg at gmail.com>
> Date: Fri, 22 Oct 2010 07:49:17 +1100
> To: Chris Maurer <chmaurer at iupui.edu>
> Cc: Matthew Jones <jonespm at umich.edu>, Corey McGarrahan <corey at rsmart.com>, Sakai QA <sakai-qa at collab.sakaiproject.org>
> Subject: Re: [WG: Sakai QA] 2.7.x Branch
> 
> From the last message it looks like it's a build issue so I'd bump the MAVEN_OPTS as a first attempt:
> 
> Mine are similar to Matthew's:
> '-Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m'
> 
> 
> 
> On 22/10/2010, at 3:22 AM, Maurer, Christopher Wayne wrote:
> 
>> Yeah, I've been having memory issues lately.
>> Here's where you can see all the build scripts for each instance:
>> https://source.sakaiproject.org/svn/nightly/build-scripts/
>> 
>> 2.7.x is under rc-release
>> 
>> And the permSize related opts are currently:
>> 
>> From: Matthew Jones <jonespm at umich.edu>
>> Date: Thu, 21 Oct 2010 12:10:37 -0400
>> To: Corey McGarrahan <corey at rsmart.com>
>> Cc: Sakai QA <sakai-qa at collab.sakaiproject.org>
>> Subject: Re: [WG: Sakai QA] 2.7.x Branch
>> 
>> Yea, looks like maven is running out of memory during the build :(
>> 
>> Not sure what the MAVEN_OPTS for the build server are using, but I have been using these and occasionally bumping them up.
>> 
>> export MAVEN_OPTS='-Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=256m'
>>  [ERROR] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Compilation failure
>> Failure executing javac, but could not parse the error:
>> 
>> 
>> The system is out of resources.
>> Consult the following stack trace for details.
>> java.lang.OutOfMemoryError: PermGen space
>> 
>> On Thu, Oct 21, 2010 at 12:03 PM, Corey McGarrahan <corey at rsmart.com> wrote:
>>> I haven't been able to connect to the 2.7.x server in a couple of days, just wondering if it is coming up any time soon? I see from the logs that it crashed and burned again today. 
>>> Sorry if this has been discussed on here or on the calls, if so I've missed it.
>>> 
>>> -- 
>>> Corey Jack McGarrahan
>>> rSmart
>>> 
>>> _______________________________________________
>>> sakai-qa mailing list
>>> sakai-qa at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-qa
>>> 
>>> TO UNSUBSCRIBE: send email to sakai-qa-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>> 
>> _______________________________________________ sakai-qa mailing list sakai-qa at collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/sakai-qa TO UNSUBSCRIBE: send email to sakai-qa-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>> _______________________________________________
>> sakai-qa mailing list
>> sakai-qa at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-qa
>> 
>> TO UNSUBSCRIBE: send email to sakai-qa-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-qa/attachments/20101022/cbcfad62/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3689 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-qa/attachments/20101022/cbcfad62/attachment-0001.bin 


More information about the sakai-qa mailing list