OOZIE:GC Overhead limit exceeded solution

Source: Internet
Author: User

1. Exception form 1)   tips      error java.lang.outofmemoryerror: gc overhead limit &NBSP;EXCEEDED2) Prompt error      Error: Java heap space      issue cause:  "if  too much time is being spent in garbage collection: if  more than 98% of the total time is spent in garbage  collection and less than 2% of the heap is recovered,  An outofmemoryerror will be thrown. " This error is reported when more than 98% of the time in the JVM&NBSP;GC behavior is released to release less than 2% of the heap space.  The processing method:1.  adds   "-xx:-usegcoverheadlimit" to the JVM startup parameter, which is enabled by default ("-xx:+usegcoverheadlimit") in JDK6. The parameters used in the adjusted production environment are: java_opts= '-xms512m -xmx4096m -xx:maxpermsize=128m -xx:-usegcoverheadlimit &NBSP;-XX:+USECONCMARKSWEEPGC ' 2.  Check if there is a lot of memory in the code or in the dead loop Oozie processing method: The number of nodes added in  configuration  < configuration>      &nbsP <property>                <name>mapreduce.map.java.opts</name >                <value>-djava.net.preferipv4stack=true - xmx12734003200</value>         </property>        < property>                 <name>mapreduce.map.memory.mb</name >                  <value>10240</value>      &N Bsp  </property>         <property>                   <name>mapreduce.reduce.java.opts</name>                    <value>-Djava.net.preferIPv4Stack=true -Xmx12468006400</value>                     </property>          <property >                    <name>mapreduce.reduce.memory.mb</ name>                    <value>1024</value>  &nbsp ;        </property>            <property>    &NBSP ;               <name>oozie.launcher.mapreduce.map.memory.mb</name>                      <value>1536</value>    & nbsp        </property>              <property>  &nbsp ;                   <name>oozie.launcher.mapreduce.map.java.opts</ name>          &nbsp             <value>-Xmx1536m</value>            &N Bsp   </property>            </ Configuration> Note: mapreduce.map.java.opts Add map JVM memory mapreduce.map.memory.mb Map Execution memory

OOZIE:GC overhead limit exceeded workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.