bvolpato opened a new pull request, #27850: URL: https://github.com/apache/beam/pull/27850
DataflowRunner sets up MemoryMonitor aware of the GC thrashing setting: https://github.com/apache/beam/blob/master/runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/util/MemoryMonitor.java#L237-L269 But when MemoryMonitor is setup by the Fn Harness, it was always assuming the default of 50.0, as it doesn't have a way to reach `DataflowPipelineDebugOptions`. Granted that this option is generalizable, I've moved `gcThrashingPercentagePerPeriod` to `SdkHarnessOptions`, and will use from there for both runner & harness. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
