Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # general >> OutOfMemoryError


Copy link to this message
-
OutOfMemoryError
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,
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB