You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 19:50:19 UTC

[GitHub] [beam] damccorm opened a new issue, #20819: Java build flakes: "Memory constraints are impeding performance"

damccorm opened a new issue, #20819:
URL: https://github.com/apache/beam/issues/20819

   Java Wordcount Direct Runner (ubuntu-latest) failed a couple times on me with the following warning/error. It doesn't seem like "impeding performance" should cause the build to fail altogether, so I'm wondering if there's some way we can silence this warning.
   
   ```
   
   > Task :sdks:java:extensions:protobuf:compileJava
   warning: Memory constraints are impeding performance;
   please increase max heap size.
   
   ...
   > Task :sdks:java:extensions:protobuf:compileJava
   error: warnings
   found and -Werror specified
   Note: Some input files use or override a deprecated API.
   Note: Recompile
   with -Xlint:deprecation for details.
   Note: Some input files use unchecked or unsafe operations.
   Note:
   Recompile with -Xlint:unchecked for details.
   1 error
   1 warning
   
   > Task :sdks:java:extensions:protobuf:compileJava
   FAILED
   > Task :runners:core-construction-java:compileJava
   Note: Some input files use or override a
   deprecated API.
   Note: Recompile with -Xlint:deprecation for details.
   Note: Some input files use unchecked
   or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   FAILURE: Build failed with
   an exception.
   
   * What went wrong:
   Execution failed for task ':sdks:java:extensions:protobuf:compileJava'.
   >
   Compilation failed; see the compiler error output for details.
   
   ```
   
   
   Imported from Jira [BEAM-11837](https://issues.apache.org/jira/browse/BEAM-11837). Original Jira may contain additional context.
   Reported by: ibzib.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles commented on issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
kennknowles commented on issue #20819:
URL: https://github.com/apache/beam/issues/20819#issuecomment-1156630419

   The folks at checkerframework are super responsive and their release process seems to take mere minutes, so if I get a review on typetools/checker-framework#5162 we should be able to move past this. Hopefully the increased heap size helps in the meantime.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles commented on issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
kennknowles commented on issue #20819:
URL: https://github.com/apache/beam/issues/20819#issuecomment-1156514659

   Agreed. I did not find a way, hence filed typetools/checker-framework/issues/5159


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles closed issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
kennknowles closed issue #20819: Java build flakes: "Memory constraints are impeding performance"
URL: https://github.com/apache/beam/issues/20819


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles commented on issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
kennknowles commented on issue #20819:
URL: https://github.com/apache/beam/issues/20819#issuecomment-1158080063

   :-(
   
   Re-running should help and once it is cached you will be clear of the problem. Otherwise we could split the memory across even fewer threads to allow a very large heap. In truth, it may not slow us down that much. We should primarily rely on caching for build performance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles commented on issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
kennknowles commented on issue #20819:
URL: https://github.com/apache/beam/issues/20819#issuecomment-1341240249

   #24410 will enable us to fix this


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles closed issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
kennknowles closed issue #20819: Java build flakes: "Memory constraints are impeding performance"
URL: https://github.com/apache/beam/issues/20819


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles commented on issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
kennknowles commented on issue #20819:
URL: https://github.com/apache/beam/issues/20819#issuecomment-1319383428

   Freeing this up for anyone to take on since I'm doing other things right now. Good first issue since it doesn't require any context or judgment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] Abacn commented on issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
Abacn commented on issue #20819:
URL: https://github.com/apache/beam/issues/20819#issuecomment-1158067146

   Still happen: https://ci-beam.apache.org/job/beam_PostCommit_Python38_PR/531/consoleText
   
   ```> Task :sdks:java:io:google-cloud-platform:compileJava
   warning: Memory constraints are impeding performance; please increase max heap size.
   warning: Memory constraints are impeding performance; please increase max heap size.
   error: warnings found and -Werror specified
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] apilloud commented on issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
apilloud commented on issue #20819:
URL: https://github.com/apache/beam/issues/20819#issuecomment-1322741702

   Still happening: https://ci-beam.apache.org/job/beam_PreCommit_Spotless_Commit/23807/consoleFull
   ```
   13:32:59 > Task :sdks:java:extensions:kryo:compileJava
   13:32:59 warning: Memory constraints are impeding performance; please increase max heap size.
   13:33:03 error: warnings found and -Werror specified
   13:33:07 > Task :sdks:java:extensions:kryo:compileJava
   13:33:07 1 error
   13:33:07 1 warning
   13:33:07 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] kennknowles commented on issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
kennknowles commented on issue #20819:
URL: https://github.com/apache/beam/issues/20819#issuecomment-1319382790

   Since checkerframework 3.26.0 this is something we can control.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [beam] apilloud commented on issue #20819: Java build flakes: "Memory constraints are impeding performance"

Posted by GitBox <gi...@apache.org>.
apilloud commented on issue #20819:
URL: https://github.com/apache/beam/issues/20819#issuecomment-1319318186

   Still happening: https://ci-beam.apache.org/job/beam_PreCommit_Java_Examples_Dataflow_Commit/21203/console


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org