hadoop mapreduce经常OOM详解大数据

<property>
  <name>mapred.child.java.opts</name>
  <value>-Xmx512m</value>//默认200m
  <description>Java opts for the task tracker child processes. 
  The following symbol, if present, will be interpolated: @taskid@ is replaced
  by current TaskID. Any other occurrences of ‘@’ will go unchanged.
  For example, to enable verbose gc logging to a file named for the taskid in
  /tmp and to set the heap maximum to be a gigabyte, pass a ‘value’ of:
        -Xmx1024m -verbose:gc -Xloggc:[email protected]@.gc
 
  The configuration variable mapred.child.ulimit can be used to control the
  maximum virtual memory of the child processes.
  </description>
</property>

原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/9601.html

(0)
上一篇 2021年7月19日
下一篇 2021年7月19日

相关推荐

发表回复

登录后才能评论