Re: Error building 3.0?

From: Michael Gentry (mgentr..asslight.net)
Date: Tue Dec 29 2009 - 09:21:43 EST

  • Next message: Andrus Adamchik: "Re: Error building 3.0?"

    Made it further, but still failed for me. Thanks for the Maven tip,
    though. I guess something changed over the past week that pushed it
    just over the default settings.

    mrg

    On Tue, Dec 29, 2009 at 8:56 AM, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > You need to have enough memory for the build:
    >
    > $ cat ~/.mavenrc
    > MAVEN_OPTS="-Xmx512m
    >
    > Andrus
    >
    >
    > On Dec 29, 2009, at 3:49 PM, Michael Gentry wrote:
    >
    >> I did an update on the 3.0 branch followed by a "mvn clean; mvn"
    >> (which worked last week), but now it errors out for me:
    >>
    >> [INFO] [resources:resources]
    >> [INFO] Using default encoding to copy filtered resources.
    >> [INFO] [compiler:compile]
    >> [INFO] Compiling 987 source files to
    >>
    >> /Users/mgentry/Projects/Eclipse/Cayenne30/framework/cayenne-jdk1.5-unpublished/target/classes
    >> Exception in thread "Keep-Alive-Timer" java.lang.OutOfMemoryError:
    >> Java heap space
    >>        at java.util.ArrayList.<init>(ArrayList.java:113)
    >>        at java.util.ArrayList.<init>(ArrayList.java:120)
    >>        at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:165)
    >>        at java.lang.Thread.run(Thread.java:613)
    >> [INFO]
    >> ------------------------------------------------------------------------
    >> [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: Java heap space
    >>        at
    >> com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:324)
    >>
    >>
    >> Is anyone else seeing this?  I haven't done anything to my environment
    >> except let the machine sleep over the Christmas break ...
    >>
    >> Thanks!
    >>
    >> mrg
    >>
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Dec 29 2009 - 09:22:39 EST