Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] OoM in mvn clean install

Hi all,

 

I am struggling with a clean build of che 3.9.0-SNAPSHOT from https://github.com/codenvy/che.git on a SLES11 box with Maven 3.3.1 and Oracle JDK 1.7.0_75.

 

It dies while “Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator” after all the resolveResource calls for the svg images with the following exception:

 

[INFO]    Compiling 4 permutations

[ERROR] Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread

[ERROR]              at java.lang.Thread.start0(Native Method)

[ERROR]              at java.lang.Thread.start(Thread.java:714)

[ERROR]              at com.google.gwt.dev.ExternalPermutationWorkerFactory.launchExternalWorker(ExternalPermutationWorkerFactory.java:311)

[ERROR]              at com.google.gwt.dev.ExternalPermutationWorkerFactory.getWorkers(ExternalPermutationWorkerFactory.java:373)

[ERROR]              at com.google.gwt.dev.PermutationWorkerFactory.createWorkers(PermutationWorkerFactory.java:365)

[ERROR]              at com.google.gwt.dev.PermutationWorkerFactory.compilePermutations(PermutationWorkerFactory.java:267)

[ERROR]              at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:211)

[ERROR]              at com.google.gwt.dev.Compiler.run(Compiler.java:221)

[ERROR]              at com.google.gwt.dev.Compiler.run(Compiler.java:158)

[ERROR]              at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)

[ERROR]              at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)

[ERROR]              at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)

[ERROR]              at com.google.gwt.dev.Compiler.main(Compiler.java:127)

 

Normally, this hints at a too restrictive max number of fork processes. But “ulimit -u" gives 62748 for my user. More than enough I guess.

No more luck with different versions of Maven or Java. I was not able to reproduce this on Windows, though.

 

Did anybody experience similar issues recently?

 

Cheers,

Christoph

 


Back to the top