[ome-users] Omero Blitz error

Paulo Almeida palmeida at igc.gulbenkian.pt
Tue Feb 17 14:16:57 GMT 2009


Hi Josh,

I tried that export in hudson.sh and it still fails with the same error. I
also tried to run hudson.sh itself, just to see what happened and it also
failed (although from what I read of the script I don't know if I was
supposed to run it).

We are building on 64-bit Linux (kernel is 2.6.26 amd64), with java
version giving me this:

java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)

Thank you,
Paulo


> Paulo Almeida writes:
>  > Hi,
>
> Hi Paulo,
>
>  > We are trying to install Omero/Omero Blitz and we get a java error when
>  > running:
>  >
>  > java -Xms512m -Xmx1512m -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode
>  > -XX:+PrintGCDetails -XX:+PrintGCTimeStamps omero
>  >
>  > We tried just "java omero" first, the switches were for debugging. We
> also
>  > used -XX:-UseGCOverheadLimit , but it gave the same error. The computer
>  > still had a lot of memory available.
>
> This is a problem we've also run into on certain platforms. What are
> you building on? To workaround, take a look at OMERO_HOME/hudson.sh
> which performs the continuous builds. Specifically:
>
> export JAVA_OPTS=${JAVA_OPTS:-"-Xmx600M -Djavac.maxmem=600M
> -Djavadoc.maxmem=600M -XX:MaxPermSize=256m"}
>
> are the settings we use.
>
> Best wishes,
> ~Josh.
>
>  > The stack trace follows:
>  >
>  > -----------
>  > The system is out of resources.
>  > Consult the following stack trace for details.
>  > java.lang.OutOfMemoryError: GC overhead limit exceeded
>  >         at
>  > com.sun.tools.javac.code.Scope$ImportScope.makeEntry(Scope.java:385)
>  >         at com.sun.tools.javac.code.Scope.enter(Scope.java:196)
>  >         at
>  > com.sun.tools.javac.comp.MemberEnter$2.importFrom(MemberEnter.java:198)
>  >         at
>  > com.sun.tools.javac.comp.MemberEnter$2.enterAnnotation(MemberEnter.java:203)
>  >         at com.sun.tools.javac.comp.Annotate.flush(Annotate.java:95)
>  >         at
> com.sun.tools.javac.comp.Annotate.enterDone(Annotate.java:87)
>  >         at com.sun.tools.javac.comp.Enter.complete(Enter.java:472)
>  >         at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
>  >         at
>  > com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
>  >         at
>  > com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
>  >         at com.sun.tools.javac.main.Main.compile(Main.java:353)
>  >         at com.sun.tools.javac.main.Main.compile(Main.java:279)
>  >         at com.sun.tools.javac.main.Main.compile(Main.java:270)
>  >         at com.sun.tools.javac.Main.compile(Main.java:69)
>  >         at com.sun.tools.javac.Main.main(Main.java:54)
>  >
>  > BUILD FAILED
>  > /home/cgl/OMERO_test/OMERO_blitz/build.xml:108: The following error
>  > occurred while executing this line:
>  > /home/cgl/OMERO_test/OMERO_blitz/components/antlib/resources/global.xml:74:
>  > The following error occurred while executing this line:
>  > /home/cgl/OMERO_test/OMERO_blitz/components/blitz/build.xml:25: The
>  > following error occurred while executing this line:
>  > /home/cgl/OMERO_test/OMERO_blitz/components/antlib/resources/lifecycle.xml:122:
>  > Compile failed; see the compiler error output for details.
>  >
>  > Total time: 2 minutes 48 seconds
>  > Heap
>  >  par new generation   total 38336K, used 13664K [0x00007f5c5b4f0000,
>  > 0x00007f5c5de80000, 0x00007f5c5de80000)
>  >   eden space 34112K,  34% used [0x00007f5c5b4f0000, 0x00007f5c5c080cc0,
>  > 0x00007f5c5d640000)
>  >   from space 4224K,  43% used [0x00007f5c5da60000, 0x00007f5c5dc27638,
>  > 0x00007f5c5de80000)
>  >   to   space 4224K,   0% used [0x00007f5c5d640000, 0x00007f5c5d640000,
>  > 0x00007f5c5da60000)
>  >  concurrent mark-sweep generation total 481728K, used 12149K
>  > [0x00007f5c5de80000, 0x00007f5c7b4f0000, 0x00007f5cb9cf0000)
>  >  concurrent-mark-sweep perm gen total 63544K, used 38348K
>  > [0x00007f5cb9cf0000, 0x00007f5cbdafe000, 0x00007f5cbf0f0000)
>  >
>  > Thanks,
>  > Paulo
>





More information about the ome-users mailing list