<?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 OutOfMemoryError : Java heap space / GC overhead limit exceeded in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-Java-heap-space-GC-overhead-limit-exceeded/m-p/2370675#M133685</link>
    <description>Hi ! 
&lt;BR /&gt; 
&lt;BR /&gt;I am writing a job which reads data from Excel file, inserts it in DB (temp table) and then extracts data from the DB and writes it into another Excel files. 
&lt;BR /&gt;For example, the input excel file contains employee names, and the output file is filled with many infos for each employee. 
&lt;BR /&gt;I did that process 3 times, for 3 tabs of the input file (3 different types of data). 
&lt;BR /&gt; 
&lt;BR /&gt;You can see on the screenshot the first part of the process. (Of course, I have a prejob and postjob to open/close the connection, create temp tables, and stuff like that.) 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/355094/Capture_Talend.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFNa.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146479i1B62A05B81D3E990/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFNa.png" alt="0683p000009MFNa.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;The job works for small input files. But I need to process big ones... and I'm facing 'Out Of Memory' errors. 
&lt;BR /&gt;The first one was 
&lt;I&gt;Java heap space&lt;/I&gt;. 
&lt;BR /&gt;Then, I configured my components to store temp files, use less memory... (For example, my tUniqRow components) 
&lt;BR /&gt;But now I have a 
&lt;I&gt;GC overhead limit exceeded.&lt;/I&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Note : I changed the -Xmx parameter to -Xmx4096M. 
&lt;BR /&gt; 
&lt;BR /&gt;It seems that when I try to avoid Java heap space, I get the GC overhead error, and when I try to reduce the GC operations, I get the Java heap space back... 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Any idea to help me please ? 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you ! 
&lt;BR /&gt; 
&lt;BR /&gt;Anth224</description>
    <pubDate>Sat, 16 Nov 2024 10:35:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:35:59Z</dc:date>
    <item>
      <title>OutOfMemoryError : Java heap space / GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-Java-heap-space-GC-overhead-limit-exceeded/m-p/2370675#M133685</link>
      <description>Hi ! 
&lt;BR /&gt; 
&lt;BR /&gt;I am writing a job which reads data from Excel file, inserts it in DB (temp table) and then extracts data from the DB and writes it into another Excel files. 
&lt;BR /&gt;For example, the input excel file contains employee names, and the output file is filled with many infos for each employee. 
&lt;BR /&gt;I did that process 3 times, for 3 tabs of the input file (3 different types of data). 
&lt;BR /&gt; 
&lt;BR /&gt;You can see on the screenshot the first part of the process. (Of course, I have a prejob and postjob to open/close the connection, create temp tables, and stuff like that.) 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/355094/Capture_Talend.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFNa.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146479i1B62A05B81D3E990/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFNa.png" alt="0683p000009MFNa.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;The job works for small input files. But I need to process big ones... and I'm facing 'Out Of Memory' errors. 
&lt;BR /&gt;The first one was 
&lt;I&gt;Java heap space&lt;/I&gt;. 
&lt;BR /&gt;Then, I configured my components to store temp files, use less memory... (For example, my tUniqRow components) 
&lt;BR /&gt;But now I have a 
&lt;I&gt;GC overhead limit exceeded.&lt;/I&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Note : I changed the -Xmx parameter to -Xmx4096M. 
&lt;BR /&gt; 
&lt;BR /&gt;It seems that when I try to avoid Java heap space, I get the GC overhead error, and when I try to reduce the GC operations, I get the Java heap space back... 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Any idea to help me please ? 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you ! 
&lt;BR /&gt; 
&lt;BR /&gt;Anth224</description>
      <pubDate>Sat, 16 Nov 2024 10:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-Java-heap-space-GC-overhead-limit-exceeded/m-p/2370675#M133685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: OutOfMemoryError : Java heap space / GC overhead limit exceeded</title>
      <link>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-Java-heap-space-GC-overhead-limit-exceeded/m-p/2370676#M133686</link>
      <description>Hi,
&lt;BR /&gt;On which build version you got this issue? Have you tried to allocate more memory for your current job?
&lt;BR /&gt;Here is a document about:
&lt;A href="https://help.talend.com/search/all?query=Exception%3A+outOfMemory" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:Exception outOfMemory&lt;/A&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 14 Jun 2016 08:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-Java-heap-space-GC-overhead-limit-exceeded/m-p/2370676#M133686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-14T08:59:50Z</dc:date>
    </item>
  </channel>
</rss>

