Hello,
I believe at some point I was told the JM doesn't need much memory so I had jobmanager.heap.mb set to 128M Looking at the TaskManager metrics on dashboard, I see my G1 YG GC is taking forever, and it's usually because of low memory and I read: Memory.heap.used Current: 188MAvg: 188M Memory.flink.used Current: 95MAvg: 95M Memory.non-heap.used Current: 42MAvg: 42M So I'm surprised: the JM has 128M but the TM has 6GB of RAM but the side report of the TM says: Flink Managed Memory: 95 mb So I'm confused here: is the TM using the jobmanager.heap.mb value for some reason? Why does the TM report 95MB when I allocated much more with taskmanager.heap.mb Thanks |
Hi Emmanuel, it is true that the JobManager does not need a lot of memory, 128M is close to the lower bound that I would recommend.By default, the taskmanager.memory.fraction parameter is set 0.7. The metrics that the web dashboard reports relate to this configuration as follows: In a YARN setup, the TM heap size is automatically
configured to the size of the TaskManager’s YARN container, minus a
certain tolerance value. In a local setup, only a single JVM process is started for both JM and TM. The both heap sizes are added for that. Can you verify that taskmanager.heap.mb is correctly set? Thanks, Fabian 2015-09-11 19:31 GMT+02:00 Emmanuel <[hidden email]>:
|
Free forum by Nabble | Edit this page |