hi Xintong:
  
 direct????????gc??????????maxDirectMemory????????????system.gc()??????????????????????????????????????maxDirectMemory????????????????????????kill??????




------------------ ???????? ------------------
??????:                                                                         
                                               "user-zh"                        
                                                            
<tonysong...@gmail.com&gt;;
????????:&nbsp;2020??10??9??(??????) ????10:53
??????:&nbsp;"user-zh"<user-zh@flink.apache.org&gt;;

????:&nbsp;Re: flink on yarn ????



????????????????cutoff ?????????? direct ???????? native ??????native 
?????????? maxDirectMemorySize
????????????????????????????????????????????

???????????????? cutoff ?????? direct/native ???????????????????????? direct 
???????????????????????????? cutoff
?????? direct ???????????? maxDirectMemorySize???????????? maxDirectMemorySize 
????????????
direct ???????????????????? OOM ?????????????????? maxDirectMemorySize 
???????????? direct
?????????????????????? maxDirectMemorySize 
???????????????????????????????????????????? direct ?????????????? GC
??????????

Thank you~

Xintong Song



On Tue, Oct 6, 2020 at 9:58 PM ??????(Jiacheng Jiang) <920334...@qq.com&gt; 
wrote:

&gt; ????????
&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;??????flink on
&gt; yarn????????????flink??????1.7.2??????????????????????????on
&gt; 
yarn????????taskmanager.heap.size????????container??????????????container??????????????kill??????????taskmanager.heap.size
&gt; = xmx+maxDirectMemorySize????????????????xmx = taskmanager.heap.size - 
cutoff -
&gt; network??????????maxDirectMemorySize = cutoff +
&gt; 
network??network????????maxDirectMemorySize??????????????cutoff????????????????cutoff??????????????maxDirectMemorySize??????????????cutoff????????????????????maxDirectMemorySize??????????metaspace????????????????????????????????????????????????????container????????????kill??

回复