[fedora-java] Fwd: [Bug 1115920] New: FTBFS on AArch64: java.lang.OutOfMemoryError: Java heap space

Orion Poplawski orion at cora.nwra.com
Mon Jul 7 22:26:20 UTC 2014


It appears that on the aarch64 koji builders:

     uintx MaxHeapSize                              := 268435456 
{product}

(see http://arm.koji.fedoraproject.org//work/tasks/8913/2478913/build.log)

compared to 2623537152 (x86_64), 1073741824 (i686), 268435456 (armv7hl) 
(http://koji.fedoraproject.org/koji/taskinfo?taskID=7114637).

Is this just a side-effect of the RAM size of the builders or something 
else?  Seems like this might cause issues elsewhere as well and am 
wondering if a proper fix belongs elsewhere.

- Orion

-------- Original Message --------
Subject: [Bug 1115920] New: FTBFS on AArch64: 
java.lang.OutOfMemoryError: Java heap space
Date: Thu, 03 Jul 2014 10:43:40 +0000
From: bugzilla at redhat.com
To: orion at cora.nwra.com

https://bugzilla.redhat.com/show_bug.cgi?id=1115920

             Bug ID: 1115920
            Summary: FTBFS on AArch64: java.lang.OutOfMemoryError: Java
                     heap space
            Product: Fedora
            Version: rawhide
          Component: vtk
           Assignee: axel.thimm at atrpms.net
           Reporter: mjuszkie at redhat.com
         QA Contact: extras-qa at fedoraproject.org
                 CC: axel.thimm at atrpms.net, fdc at fcami.net,
                     jonathan.underwood at gmail.com, mrceresa at gmail.com,
                     orion at cora.nwra.com



Description of problem:

Building of vtk on AArch64 fails with:

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:526)
     at com.sun.tools.javac.code.Scope.enter(Scope.java:220)
     at com.sun.tools.javac.code.Scope.enter(Scope.java:202)
     at 
com.sun.tools.javac.code.Scope$StarImportScope.importAll(Scope.java:549)
     at com.sun.tools.javac.comp.MemberEnter.importAll(MemberEnter.java:163)
     at 
com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:549)
     at com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:571)
     at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:435)
     at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:447)
     at 
com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:526)
     at
com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:518)
     at 
com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:435)
     at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:1038)
     at com.sun.tools.javac.code.Symbol.complete(Symbol.java:560)
     at 
com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:1024)
     at com.sun.tools.javac.comp.Enter.complete(Enter.java:497)
     at com.sun.tools.javac.comp.Enter.main(Enter.java:475)
     at 
com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:985)
     at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
     at com.sun.tools.javac.main.Main.compile(Main.java:523)
     at com.sun.tools.javac.main.Main.compile(Main.java:381)
     at com.sun.tools.javac.main.Main.compile(Main.java:370)
     at com.sun.tools.javac.main.Main.compile(Main.java:361)
     at com.sun.tools.javac.Main.compile(Main.java:56)
     at com.sun.tools.javac.Main.main(Main.java:42)
Wrapping/Java/CMakeFiles/VTKJavaClasses.dir/build.make:1952: recipe for 
target
'java/javac_stamp.txt' failed
make[2]: Leaving directory '/builddir/build/BUILD/VTK-6.1.0/build'
CMakeFiles/Makefile2:22685: recipe for target
'Wrapping/Java/CMakeFiles/VTKJavaClasses.dir/all' failed
make[2]: *** [java/javac_stamp.txt] Error 3
make[1]: *** [Wrapping/Java/CMakeFiles/VTKJavaClasses.dir/all] Error 2
make: *** [all] Error 2
make[1]: Leaving directory '/builddir/build/BUILD/VTK-6.1.0/build'
Makefile:120: recipe for target 'all' failed
Version-Release number of selected component (if applicable):


How reproducible:

always

Steps to Reproduce:
1. build package on aarch64 (use "arm-koji build rawhide")
2. watch it fail
3.

Actual results:

package fails to build

Expected results:

package builds

Additional info:

Increasing Java heap size with "JAVA_TOOL_OPTIONS=-Xmx2048m make
%{?_smp_mflags}" helps. 2048m size was randomly selected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=dfeLMxOcug&a=cc_unsubscribe




More information about the java-devel mailing list