Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11837

Null checking causes build flakes: "Memory constraints are impeding performance"

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ibzib Kyle Weaver

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m

                  Issue deployment