Out of Memory Error in Hadoop

You can assign more memory by editing the conf/mapred-site.xml file and adding the property:

  <property>
    <name>mapred.child.java.opts</name>
    <value>-Xmx1024m</value>
  </property>

This will start the hadoop JVMs with more heap space.

About the Author: admin

Leave a Reply

Your email address will not be published. Required fields are marked *