You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Jason Zwolak (JIRA)" <ji...@apache.org> on 2013/11/18 20:33:20 UTC

[jira] [Created] (OPENJPA-2456) Fresh checkout from svn won't compile tests due to OutOfMemoryError: Java heap space

Jason Zwolak created OPENJPA-2456:
-------------------------------------

             Summary: Fresh checkout from svn won't compile tests due to OutOfMemoryError: Java heap space
                 Key: OPENJPA-2456
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2456
             Project: OpenJPA
          Issue Type: Bug
          Components: build / infrastructure
         Environment: Mac OS/X 10.9
HomeBrew was used to install Maven.
Java 1.7 and 1.6 (I'm not sure which one Maven is using, but on the command line "java -version" gives 1.7 64-bit)
            Reporter: Jason Zwolak


On a Mac with the above environment, run

> svn checkout http://svn.apache.org/repos/asf/openjpa/trunk openjpa
> cd openjpa
> mvn clean install

And the result is:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (test-source-compile) on project openjpa-persistence-jdbc: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] 
[ERROR] 
[ERROR] The system is out of resources.
[ERROR] Consult the following stack trace for details.
[ERROR] java.lang.OutOfMemoryError: Java heap space
[ERROR] at java.util.HashMap.addEntry(HashMap.java:753)
[ERROR] at java.util.HashMap.put(HashMap.java:385)
[ERROR] at java.util.HashSet.add(HashSet.java:200)
[ERROR] at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:748)
[ERROR] at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:772)
[ERROR] at com.sun.tools.javac.comp.Resolve.findMethod(Resolve.java:720)
[ERROR] at com.sun.tools.javac.comp.Resolve.resolveQualifiedMethod(Resolve.java:1229)
[ERROR] at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:156)
[ERROR] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:205)
[ERROR] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:219)
[ERROR] at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:167)
[ERROR] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:205)
[ERROR] at com.sun.tools.javac.comp.Annotate.enterAttributeValue(Annotate.java:219)
[ERROR] at com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:167)
[ERROR] at com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:743)
[ERROR] at com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:42)
[ERROR] at com.sun.tools.javac.comp.MemberEnter$5.enterAnnotation(MemberEnter.java:711)
[ERROR] at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:95)
[ERROR] at com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:87)
[ERROR] at com.sun.tools.javac.comp.Enter.complete(Enter.java:485)
[ERROR] at com.sun.tools.javac.comp.Enter.main(Enter.java:442)
[ERROR] at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:822)
[ERROR] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:353)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:279)
[ERROR] at com.sun.tools.javac.main.Main.compile(Main.java:270)
[ERROR] at com.sun.tools.javac.Main.compile(Main.java:87)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:597)
[ERROR] at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)




--
This message was sent by Atlassian JIRA
(v6.1#6144)