hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohit Vadhera <project.linux.p...@gmail.com>
Subject OutOfMemoryError
Date Mon, 04 Feb 2013 19:55:55 GMT
Hi,

I am getting error OutOfMemoryError: Java heap space
“ [main] INFO
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
- 0% complete”. Do I need to set the below property in file (
/etc/hadoop/conf/mapred-site.xml)
but the values are set below in  format Xms750M -Xmx1536M. How can I
increase the value? Can this solve the issue?


    <name>mapred.child.java.opts</name>
    <value>-Xms750M -Xmx1536M
-Djava.library.path=/usr/lib64/:/opt/hadoopgpl/native/Linux-amd64-64/:/usr/lib/hadoop/lib/native/Linux-amd64-64/:/opt/hadoopgpl/lib/pig-0.8.0/
-XX:+UseCompressedOops -XX:+UseConcMarkSweepGC
-Djava.net.preferIPv4Stack=true</value>
  </property>


Thanks,

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message