[Building Sakai] 2.6.2 java heap space error

Aaron Zeckoski azeckoski at unicon.net
Tue Apr 13 12:50:58 PDT 2010


I am using these settings with no problems on OSX. (mvn 2.0.10)
MAVEN_OPTS="-Xms128m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=172m"

I can build 2.6 and 2.7/trunk without issue.
-AZ


On Tue, Apr 13, 2010 at 8:36 PM, Boyd, Amy E <amyboyd at txstate.edu> wrote:
> I have tried both of these suggestions to no avail (upping the Xmx value and
> adding -Dfile.encoding=UTF-8 to the MAVEN_OPTS variable.
>
>
>
> Is there something else that could be causing this?  I’m using java version
> 1.5.0_19 and wondering if that’s the problem?  Should I be using 1.5.0_18
> instead?  I did read that there were problems with versions < 18 but haven’t
> heard anything about 19.
>
>
>
>
>
>
>
> From: jonespm at gmail.com [mailto:jonespm at gmail.com] On Behalf Of Matthew
> Jones
> Sent: Tuesday, April 13, 2010 10:54 AM
> To: Boyd, Amy E
> Cc: (sakai-dev at collab.sakaiproject.org)
> Subject: Re: [Building Sakai] 2.6.2 java heap space error
>
>
>
> I would just keep increasing the Xmx value until it compiles. This was
> discussed on sakai-dev a few weeks ago. A comment from Alan.
>
>
>
> builds.sakaiproject.org uses
>
>
>
> "-Xms1024m -Xmx1024m -Xss600k -XX:MaxPermSize=256m for the JVM
> Options with properties maven.test.skip=true (for the time being)"
>
>
>
> http://n2.nabble.com/Building-Sakai-Tinkering-with-Hudson-again-tp4756386p4756461.html
>
> Here's a blog post also mentioning this:
>
> http://goo.gl/VOed
>
>
>
> Currently I'm still able to build at 512, but might need to bump it up soon
> too.
>
>
>
> -Matthew
>
>
>
> On Tue, Apr 13, 2010 at 11:13 AM, Boyd, Amy E <amyboyd at txstate.edu> wrote:
>
> Wondering if anyone out there can help me with this.  We are merging 2.6
> with our local changes, and I can’t seem to build.  All of the folders/tools
> will build individually, but from the src directory, I get:
> java.lang.OutOfMemoryError: Java heap space.
>
>
>
> Running java 1.5.0_19
>
> Apache Maven 2.2.0
>
> OSX snow leopard
>
>
>
>
>
>
>
> My MAVEN_OPTS is set to -Xms256m -Xmx768m -XX:PermSize=64m
> -XX:MaxPermSize=128m.  I’ve played with those numbers some but can’t seem to
> get rid of the error.  Is there something else that could be causing it?
> This has been going on for several days now and I’m out of ideas at this
> point.
>
>
>
> Any help is appreciated!!!
>
>
>
> Thanks –
>
> Amy
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"
>



-- 
Aaron Zeckoski - Software Engineer - http://tinyurl.com/azprofile


More information about the sakai-dev mailing list