Re: Metrics OOM java heap space

2022-08-15 Thread Chesnay Schepler
The granularity setting isn't relevant because it only matters when you enable latency metrics, but they are opt-in and the default config is used. You can only enable/disable specific metrics in the upcoming 1.16.0. @Yuriy: You said you had 270k Strings in the StreamConfig; is that accurate?

Re: Metrics OOM java heap space

2022-08-14 Thread yu'an huang
You can follow the ticked https://issues.apache.org/jira/browse/FLINK-10243 as mentioned in that stack overflow question to set this parameter: “metrics.latency.granularity":

Re: Metrics OOM java heap space

2022-08-12 Thread Yuriy Kutlunin
Hello Yuan, I don't override any default settings, docker-compose.yml: > services: > jobmanager: > image: flink:1.15.1-java11 > ports: > - "8081:8081" > command: jobmanager > environment: > - | > FLINK_PROPERTIES= > jobmanager.rpc.address: jobmanager

Re: Metrics OOM java heap space

2022-08-11 Thread yu'an huang
Hi Yuriy, How do you set your TaskMananger Memory? I think 40MB is not significant high for Flink. And It’s normal to see memory increase if you have more parallelism or set another metrics on. You can try setting larger moratory for Flink as explained by following documents.