<?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 heap space error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/JAVA-heap-space-error/m-p/2303336#M75231</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if you can run the job locally within Studio, run something like VisualVM and see when it starts consuming the memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something looks a bit odd thar you have 2 “If” connections coming together at the tJava.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 11 May 2019 17:46:28 GMT</pubDate>
    <dc:creator>David_Beaty</dc:creator>
    <dc:date>2019-05-11T17:46:28Z</dc:date>
    <item>
      <title>JAVA heap space error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JAVA-heap-space-error/m-p/2303333#M75228</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am working on Talend for 2 years now in Paris.&lt;/P&gt; 
&lt;P&gt;At the beginning I had a 2 days training about how to make a job, run a job.... only beginner stuffs.&lt;/P&gt; 
&lt;P&gt;All the rest is self discovering &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;So sorry in advance for my questions&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying to understand why I am facing this error. I guess that is about JVM and memory.&lt;/P&gt; 
&lt;P&gt;Xms:128 (I read that is the minimum of memory)&lt;/P&gt; 
&lt;P&gt;Xmx:4096 (I read that is the maximum of memory)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The jobserver has 16go of memory so I guess I can not increase more and there are others jobs / project using this server atthe same time&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My job is around 12 millions rows with 10 columns&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;tJDBCInput (with a bit complex query) &amp;lt;-&amp;gt; tJCBDOutput (full refresh) &lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I do not understand where in this job the memory is using. Is it when the result of the query is sent to Talend?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And other issue is that in my firm we are using a scheduling tools and the exit code is 0.&lt;/P&gt; 
&lt;P&gt;The job looks like is running correctly but in fact there is an java heap space&amp;nbsp;error in the log file.&lt;/P&gt; 
&lt;P&gt;So how to force the job to die? Do I have a tDie link to tJDBCInput and tJDBCOuput?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I did manage to avoid the java heap space error by splitting the query in mulitples queries but it was OK for few days and now the java heap is back &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;By example &lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;year = 2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tJDBCInput (with a bit complex query) &amp;lt;-&amp;gt; tJCBDOutput (full refresh)&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;if subject ok then &lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;year = 2016 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tJDBCInput (with a bit complex query) &amp;lt;-&amp;gt; tJCBDOutput (Append)&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;if subject ok then &lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT size="2" color="#0000FF"&gt;year = 2017 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tJDBCInput (with a bit complex query) &amp;lt;-&amp;gt; tJCBDOutput (Append)&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you all in advance for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 10:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JAVA-heap-space-error/m-p/2303333#M75228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-11T10:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA heap space error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JAVA-heap-space-error/m-p/2303334#M75229</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you share a screenshot of the job design?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 12:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JAVA-heap-space-error/m-p/2303334#M75229</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2019-05-11T12:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA heap space error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JAVA-heap-space-error/m-p/2303335#M75230</link>
      <description>&lt;P&gt;Hi David,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Sure very simple job&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 880px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4X9.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138167iB5C4E6A9D2E953F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4X9.png" alt="0683p000009M4X9.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tJDBCOutput&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 414px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4Vq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151739i7B8F2A920CA48409/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4Vq.png" alt="0683p000009M4Vq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Job advanced parameters&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 178px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4YF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138614i1DACD01E7996CE1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4YF.png" alt="0683p000009M4YF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for you help&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 13:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JAVA-heap-space-error/m-p/2303335#M75230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-11T13:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA heap space error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/JAVA-heap-space-error/m-p/2303336#M75231</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if you can run the job locally within Studio, run something like VisualVM and see when it starts consuming the memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something looks a bit odd thar you have 2 “If” connections coming together at the tJava.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 17:46:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/JAVA-heap-space-error/m-p/2303336#M75231</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2019-05-11T17:46:28Z</dc:date>
    </item>
  </channel>
</rss>

