|
|
-
OutOfMemoryErrorMohit Vadhera 2013-02-04, 19:55
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, |