zoukankan      html  css  js  c++  java
  • 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:/tmp/@taskid@.gc
     
      The configuration variable mapred.child.ulimit can be used to control the
      maximum virtual memory of the child processes.
      </description>
    </property>

  • 相关阅读:
    mybatis-generator的坑
    log框架集成
    状压dp
    GYM 101350 G
    Wannafly挑战赛23 A 字符串
    基础
    ACM Changchun 2015 A. Too Rich
    最大子串和
    memset
    int long long 的范围
  • 原文地址:https://www.cnblogs.com/likehua/p/2857132.html
Copyright © 2011-2022 走看看