[
https://issues.apache.org/jira/browse/BEAM-13686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vitaly Ivanov updated BEAM-13686:
---------------------------------
Description:
Logging message is calculated even when logging level is higher, so there is no
WA to increase the logging level.
{noformat}
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.Arrays.copyOf(Arrays.java:3745)
at
java.base/java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:172)
at
java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:538)
at java.base/java.lang.StringBuilder.append(StringBuilder.java:174)
at java.base/java.lang.StringBuilder.append(StringBuilder.java:85)
at
java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:573)
at java.base/java.lang.StringBuilder.append(StringBuilder.java:204)
at java.base/java.lang.StringBuilder.append(StringBuilder.java:85)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$TextGenerator.print(TextFormat.java:860)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printFieldValue(TextFormat.java:574)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printSingleField(TextFormat.java:743)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printField(TextFormat.java:443)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printMessage(TextFormat.java:705)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:353)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printFieldValue(TextFormat.java:597)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printSingleField(TextFormat.java:743)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printField(TextFormat.java:443)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printMessage(TextFormat.java:705)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:353)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printFieldValue(TextFormat.java:597)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printSingleField(TextFormat.java:743)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printField(TextFormat.java:435)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printMessage(TextFormat.java:705)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:353)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printFieldValue(TextFormat.java:597)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printSingleField(TextFormat.java:743)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printField(TextFormat.java:443)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printMessage(TextFormat.java:705)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:353)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:339)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printToString(TextFormat.java:606)
at
org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat.printToString(TextFormat.java:149){noformat}
> OOM while logging a large pipeline even when logging level is higher
> --------------------------------------------------------------------
>
> Key: BEAM-13686
> URL: https://issues.apache.org/jira/browse/BEAM-13686
> Project: Beam
> Issue Type: Bug
> Components: runner-dataflow
> Affects Versions: 2.35.0
> Reporter: Vitaly Ivanov
> Assignee: Vitaly Ivanov
> Priority: P1
>
> Logging message is calculated even when logging level is higher, so there is
> no WA to increase the logging level.
> {noformat}
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
> at java.base/java.util.Arrays.copyOf(Arrays.java:3745)
> at
> java.base/java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:172)
> at
> java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:538)
> at java.base/java.lang.StringBuilder.append(StringBuilder.java:174)
> at java.base/java.lang.StringBuilder.append(StringBuilder.java:85)
> at
> java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:573)
> at java.base/java.lang.StringBuilder.append(StringBuilder.java:204)
> at java.base/java.lang.StringBuilder.append(StringBuilder.java:85)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$TextGenerator.print(TextFormat.java:860)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printFieldValue(TextFormat.java:574)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printSingleField(TextFormat.java:743)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printField(TextFormat.java:443)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printMessage(TextFormat.java:705)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:353)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printFieldValue(TextFormat.java:597)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printSingleField(TextFormat.java:743)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printField(TextFormat.java:443)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printMessage(TextFormat.java:705)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:353)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printFieldValue(TextFormat.java:597)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printSingleField(TextFormat.java:743)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printField(TextFormat.java:435)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printMessage(TextFormat.java:705)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:353)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printFieldValue(TextFormat.java:597)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printSingleField(TextFormat.java:743)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printField(TextFormat.java:443)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printMessage(TextFormat.java:705)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:353)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.print(TextFormat.java:339)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat$Printer.printToString(TextFormat.java:606)
> at
> org.apache.beam.vendor.grpc.v1p36p0.com.google.protobuf.TextFormat.printToString(TextFormat.java:149){noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)