Re: Java compiler OOMs on Jenkins/Gradle

2018-05-30 Thread Lukasz Cwik
Try running without a daemon (use flag --no-daemon) to see if its an issue with the gradle daemon you have been using isn't overloaded. On Wed, May 30, 2018 at 5:11 PM Ankur Goenka wrote: > I am facing OOM while locally building the project using Gradle. Here is > the scan https://scans.gradle.c

Re: Java compiler OOMs on Jenkins/Gradle

2018-05-30 Thread Ankur Goenka
I am facing OOM while locally building the project using Gradle. Here is the scan https://scans.gradle.com/s/t3n42rw5666us The issue is happening from :rat task. Is this issue related? On Tue, May 1, 2018 at 4:40 PM Scott Wegner wrote: > Sorry about the instability. We need to get the Gradle job

Re: Java compiler OOMs on Jenkins/Gradle

2018-05-01 Thread Scott Wegner
Sorry about the instability. We need to get the Gradle jobs tuned for our Jenkins machines, and there's no way to test my configuration changes without affecting all jobs :-/ The changes I'm making are here: https://github.com/apache/beam/pull/5218 It seems that they're still not quite right: the

Re: Java compiler OOMs on Jenkins/Gradle

2018-05-01 Thread Eugene Kirpichov
Thanks! FWIW seems that my other Jenkins build is about to fail with the same issue https://builds.apache.org/job/beam_PreCommit_Java_GradleBuild/4806/ - "Expiring Daemon because JVM Tenured space is exhausted" On Tue, May 1, 2018 at 1:36 PM Lukasz Cwik wrote: > +sweg...@google.com who is curren

Re: Java compiler OOMs on Jenkins/Gradle

2018-05-01 Thread Lukasz Cwik
+sweg...@google.com who is currently messing around with tuning some Gradle flags related to the JVM and its memory usage. On Tue, May 1, 2018 at 1:34 PM Eugene Kirpichov wrote: > Hi, > > I've seen the same issue twice in a row on PR > https://github.com/apache/beam/pull/4264 : the Java precommi

Java compiler OOMs on Jenkins/Gradle

2018-05-01 Thread Eugene Kirpichov
Hi, I've seen the same issue twice in a row on PR https://github.com/apache/beam/pull/4264 : the Java precommit fails with messages like: > Task :beam-sdks-java-core:compileTestJava An exception has occurred in the compiler ((version info not available)). Please file a bug against the Java compil