Re: Calculation of UI's maximum non-heap memory

2023-02-21 Thread Alexis Sarda-Espinosa
Very useful, thanks a lot. Regards, Alexis. Am Di., 21. Feb. 2023 um 12:04 Uhr schrieb Weihua Hu : > Hi Alexis, > > The maximum Non-Heap is the sum of the memory pool (which is non-hep) max > size. There are 3 memory pools(based on jdk11): > 1. Metaspace, we can control the size with JVM parame

Re: Calculation of UI's maximum non-heap memory

2023-02-21 Thread Weihua Hu
Hi Alexis, The maximum Non-Heap is the sum of the memory pool (which is non-hep) max size. There are 3 memory pools(based on jdk11): 1. Metaspace, we can control the size with JVM parameter -XX:MaxMetaspaceSize or Flink configuration: jobmanager.memory.jvm-metaspace.size. For your job, this pool

Re: Calculation of UI's maximum non-heap memory

2023-02-20 Thread Alexis Sarda-Espinosa
Hi Weihua, Thanks for your response, I am familiar with those calculations, the one I don't understand is the Maximum Non-Heap value. Regards, Alexis. On Tue, 21 Feb 2023, 04:45 Weihua Hu, wrote: > Hi, Alexis > > 1. With those configuration, Flink will set JVM parameters -Xms and -Xmx > to 673

Re: Calculation of UI's maximum non-heap memory

2023-02-20 Thread Weihua Hu
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

Calculation of UI's maximum non-heap memory

2023-02-20 Thread Alexis Sarda-Espinosa
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.mem