You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2021/10/18 21:36:00 UTC

[jira] [Updated] (BEAM-11837) Java build flakes: "Memory constraints are impeding performance"

     [ https://issues.apache.org/jira/browse/BEAM-11837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Knowles updated BEAM-11837:
-----------------------------------
    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.

{code}
> 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.
{code}

  was:
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.




> Java build flakes: "Memory constraints are impeding performance"
> ----------------------------------------------------------------
>
>                 Key: BEAM-11837
>                 URL: https://issues.apache.org/jira/browse/BEAM-11837
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Kyle Weaver
>            Priority: P1
>              Labels: flake
>             Fix For: Not applicable
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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.
> {code}
> > 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.
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)