<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: java.lang.OutOfMemoryError: GC overhead limit exceeded in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334289#M102969</link>
    <description>You may want to check out ScaleDOM, which allows to parse very large XML files: 
&lt;A href="https://github.com/whummer/scaleDOM" rel="nofollow noopener noreferrer"&gt;https://github.com/whummer/scaleDOM&lt;/A&gt; 
&lt;BR /&gt;ScaleDOM has a small memory footprint due to lazy loading of XML nodes. It only keeps a portion of the XML document in memory and re-loads nodes from the source file when necessary.</description>
    <pubDate>Sat, 26 Oct 2013 15:16:39 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2013-10-26T15:16:39Z</dc:date>
    <item>
      <title>java.lang.OutOfMemoryError: GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334285#M102965</link>
      <description>Hello, 
&lt;BR /&gt; 
&lt;BR /&gt;I have a simple job that is processing a 2.2GB XML file. It is running out of memory and erroring out even though it is being run with the parameters of -Xmx3072M and -Xms3072M. The generation mode is also set to low memory consumption (SAX). 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: java.lang.OutOfMemoryError: GC overhead limit exceeded 
&lt;BR /&gt;at morningstar_01.httrs_performance01_tlog_0_1.Httrs_Performance01_tLog.tFileInputXML_1Process(Httrs_Performance01_tLog.java:1175) 
&lt;BR /&gt;at morningstar_01.httrs_performance01_tlog_0_1.Httrs_Performance01_tLog.runJobInTOS(Httrs_Performance01_tLog.java:1353) 
&lt;BR /&gt;at morningstar_01.httrs_performance01_tlog_0_1.Httrs_Performance01_tLog.main(Httrs_Performance01_tLog.java:1221) 
&lt;BR /&gt;Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded 
&lt;BR /&gt;at java.util.Arrays.copyOfRange(Unknown Source) 
&lt;BR /&gt;at java.lang.String.&amp;lt;init&amp;gt;(Unknown Source) 
&lt;BR /&gt;at java.lang.String.substring(Unknown Source) 
&lt;BR /&gt;at org.talend.xml.sax.SAXLoopHandler.startElement(SAXLoopHandler.java:176) 
&lt;BR /&gt;at org.talend.xml.sax.SAXLoopCompositeHandler.startElement(SAXLoopCompositeHandler.java:64) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 
&lt;BR /&gt;at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source) 
&lt;BR /&gt;at org.talend.xml.sax.ComplexSAXLooper.parse(ComplexSAXLooper.java:164) 
&lt;BR /&gt;at org.talend.xml.sax.SAXLooper.parse(SAXLooper.java:129) 
&lt;BR /&gt;at morningstar_01.httrs_performance01_tlog_0_1.Httrs_Performance01_tLog.tFileInputXML_1Process(Httrs_Performance01_tLog.java:800) 
&lt;BR /&gt;... 2 more 
&lt;BR /&gt;~~~ 
&lt;BR /&gt;What do I have to change to get this job to run without memory errors? I have also tried increasing the Xms and Xmx in the C:\Talend\5.1.2\studio\JETL-r90681-V5.1.2\JETL-win-x86_64.ini but same result. The settings are below: 
&lt;BR /&gt;-vmargs 
&lt;BR /&gt;-Xms2048m 
&lt;BR /&gt;-Xmx2048m 
&lt;BR /&gt;-XX:MaxPermSize=512m 
&lt;BR /&gt;-Dfile.encoding=UTF-8 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Thu, 14 Feb 2013 23:10:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334285#M102965</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-14T23:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334286#M102966</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have a simple job that is processing a 2.2GB XML file. It is running out of memory and erroring out even though it is being run with the parameters of -Xmx3072M and -Xms3072M. The generation mode is also set to low memory consumption (SAX).&lt;BR /&gt;Exception in thread "main" java.lang.Error: java.lang.OutOfMemoryError: GC overhead limit exceeded &lt;BR /&gt;at morningstar_01.httrs_performance01_tlog_0_1.Httrs_Performance01_tLog.tFileInputXML_1Process(Httrs_Performance01_tLog.java:1175) &lt;BR /&gt;at morningstar_01.httrs_performance01_tlog_0_1.Httrs_Performance01_tLog.runJobInTOS(Httrs_Performance01_tLog.java:1353) &lt;BR /&gt;at morningstar_01.httrs_performance01_tlog_0_1.Httrs_Performance01_tLog.main(Httrs_Performance01_tLog.java:1221) &lt;BR /&gt;Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded &lt;BR /&gt;at java.util.Arrays.copyOfRange(Unknown Source) &lt;BR /&gt;at java.lang.String.&amp;lt;init&amp;gt;(Unknown Source) &lt;BR /&gt;at java.lang.String.substring(Unknown Source) &lt;BR /&gt;at org.talend.xml.sax.SAXLoopHandler.startElement(SAXLoopHandler.java:176) &lt;BR /&gt;at org.talend.xml.sax.SAXLoopCompositeHandler.startElement(SAXLoopCompositeHandler.java:64) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) &lt;BR /&gt;at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source) &lt;BR /&gt;at org.talend.xml.sax.ComplexSAXLooper.parse(ComplexSAXLooper.java:164) &lt;BR /&gt;at org.talend.xml.sax.SAXLooper.parse(SAXLooper.java:129) &lt;BR /&gt;at morningstar_01.httrs_performance01_tlog_0_1.Httrs_Performance01_tLog.tFileInputXML_1Process(Httrs_Performance01_tLog.java:800) &lt;BR /&gt;... 2 more &lt;BR /&gt;~~~ &lt;BR /&gt;What do I have to change to get this job to run without memory errors? I have also tried increasing the Xms and Xmx in the C:\Talend\5.1.2\studio\JETL-r90681-V5.1.2\JETL-win-x86_64.ini but same result. The settings are below:&lt;BR /&gt;-vmargs&lt;BR /&gt;-Xms2048m&lt;BR /&gt;-Xmx2048m&lt;BR /&gt;-XX:MaxPermSize=512m&lt;BR /&gt;-Dfile.encoding=UTF-8&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hello, 
&lt;BR /&gt; 
&lt;BR /&gt;Any ideas on this would be greatly appreciated. 
&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 15 Feb 2013 06:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334286#M102966</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-02-15T06:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334287#M102967</link>
      <description>What is the structure of your document and what is the configuration of the component tFileInputXML?
&lt;BR /&gt;Depending what you want to extract, even SAX might needs memory</description>
      <pubDate>Thu, 23 May 2013 02:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334287#M102967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-23T02:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334288#M102968</link>
      <description>Increasing the memory parameters of the Studio has no effect to the job! 
&lt;BR /&gt;Please open the job, navigate to the Run view and increase the memory parameters in the advanced section. 
&lt;BR /&gt;You have to use the same parameters of course. Please keep in mind, a job is running in its own JVM and therefore needs it own configuration.</description>
      <pubDate>Thu, 23 May 2013 13:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334288#M102968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-23T13:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334289#M102969</link>
      <description>You may want to check out ScaleDOM, which allows to parse very large XML files: 
&lt;A href="https://github.com/whummer/scaleDOM" rel="nofollow noopener noreferrer"&gt;https://github.com/whummer/scaleDOM&lt;/A&gt; 
&lt;BR /&gt;ScaleDOM has a small memory footprint due to lazy loading of XML nodes. It only keeps a portion of the XML document in memory and re-loads nodes from the source file when necessary.</description>
      <pubDate>Sat, 26 Oct 2013 15:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334289#M102969</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-10-26T15:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334290#M102970</link>
      <description>ScaleDOM does not solve his problem. He already use a parser with minimum memory foot print. The problem is the huge amount of temporary objects created and trashed and the temporary space for the GC to manage that is a bit to small. 
&lt;BR /&gt;I would suggest playing a bit with the GC parameters: 
&lt;BR /&gt; 
&lt;A href="http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html" rel="nofollow noopener noreferrer"&gt;http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html&lt;/A&gt; 
&lt;BR /&gt;The general heap space is probably huge enough, it looks like some of the working area for the GC is to small. 
&lt;BR /&gt;And please check where you change that: Modifying the studio parameters in the ini file has no effect for jobs! 
&lt;BR /&gt;The only way to tweak jobs is in the Run view of the job under advanced settings.</description>
      <pubDate>Sun, 27 Oct 2013 09:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334290#M102970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-27T09:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334291#M102971</link>
      <description>Please check my snapshot, i get out of memory error.&amp;nbsp; 
&lt;BR /&gt;So i went to window--preference--run/debug and changed the memory size to &amp;nbsp;a higher one..&amp;nbsp; 
&lt;BR /&gt;i still got the error though it run for a longer time before throwing the error this time.&amp;nbsp; 
&lt;BR /&gt;I'm using Talend open studio for data integration 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/230604/Screenshot-from-2014-10-21-165505.jpeg" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDjV.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132575iECD355E2AEBE2D98/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDjV.jpg" alt="0683p000009MDjV.jpg" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/230604/Screenshot-from-2014-10-21-165045.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDpc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136280i8ABA07D7800B4367/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDpc.png" alt="0683p000009MDpc.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;I'm pulling data from different MonogDB and MySQL sources.</description>
      <pubDate>Tue, 21 Oct 2014 18:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334291#M102971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-21T18:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.OutOfMemoryError: GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334292#M102972</link>
      <description>hi 
&lt;BR /&gt;as said several time before , increase memories is not a solution ...&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;You have to find the cause before decide an action to correct it (improve/optimize your job). 
&lt;BR /&gt;your error tell you that your garbage collector is working too / hard too often. 
&lt;BR /&gt;you 're working with too many data in memory (java object) ... you have to think otherwize you manage your data. 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 22 Oct 2014 09:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded/m-p/2334292#M102972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-22T09:13:39Z</dc:date>
    </item>
  </channel>
</rss>

