Hi, Alexis 1. With those configuration, Flink will set JVM parameters -Xms and -Xmx to 673185792(642m),-XX:MaxDirectMemorySize to 67108864(64m),-XX:MaxMetaspaceSize to 157286400(150m), you can find more information from [1] 2. As the hint in Flink UI: "The maximum heap displayed might differ from the configured values depending on the used GC algorithm for this process.", This[2] shows how JVM calculate the max heap memory from configured -Xms/-Xmx
[1] https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/memory/mem_setup_jobmanager/ [2] https://stackoverflow.com/questions/52980629/runtime-getruntime-maxmemory-calculate-method Best, Weihua On Tue, Feb 21, 2023 at 12:15 AM Alexis Sarda-Espinosa < sarda.espin...@gmail.com> wrote: > Hello, > > I have configured a job manager with the following settings (Flink 1.16.1): > > jobmanager.memory.process.size: 1024m > jobmanager.memory.jvm-metaspace.size: 150m > jobmanager.memory.off-heap.size: 64m > jobmanager.memory.jvm-overhead.min: 168m > jobmanager.memory.jvm-overhead.max: 168m > jobmanager.memory.enable-jvm-direct-memory-limit: "true" > > However, when I look at the job manager dashboard in the UI, I see that > the value of Non-Heap Maximum is reported as 532 MB. Could someone clarify > how this value is calculated? > > In case it's relevant, the effective configuration for JVM Heap is > reported as 642 MB, with the reported maximum being 621 MB. > > Regards, > Alexis. > >