<?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: Exception in thread &amp;quot;main&amp;quot; java.lang.OutOfMemoryError: Java heap space in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326185#M95698</link>
    <description>&lt;P&gt;Hi in JVM parameters : xms is the minimum amount of memory you want your job use at his launch, and xmx the maximum amount of memory the job will use.&lt;/P&gt;&lt;P&gt;one exemple : xms 1024 xmx 4096 , the job will begin with 1024 and can up to 4096 when more memory usage is needed.&lt;/P&gt;&lt;P&gt;Send me Love and Kudos and Greetings from France&lt;/P&gt;</description>
    <pubDate>Mon, 12 Apr 2021 08:48:27 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2021-04-12T08:48:27Z</dc:date>
    <item>
      <title>Exception in thread "main" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326181#M95694</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi All.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One Table has 4,5 million rows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am Exporting those rows to another table and&amp;nbsp;I am getting this error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Exception in thread "main" java.lang.OutOfMemoryError: Java heap space"&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I read many discussions about that same problem and I applied these configurations:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;+ For the cursor in the input component: 100000&lt;/P&gt; 
&lt;P&gt;+ For the advanced settings of the execution tab for the JVM parameters: -Xms1024&amp;nbsp; //&amp;nbsp; -Xmx1024&amp;nbsp; //&amp;nbsp; -XX:-UseGCOverheadLimit&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please find attached the design&amp;nbsp;of my job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to know if it's an optimization&amp;nbsp;issue ( so I have to change the design of the job, ...which it's not very possible due to business model matters) or it's a classic memory issue (so I have just to increase the memory for JVM).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm&amp;nbsp;on Talend Open Studio for Data Integration 6.5.1.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have to wait 2 hours for each test... it's a little bit hard lol&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your time and answers!&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hedi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 13:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326181#M95694</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-14T13:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326182#M95695</link>
      <description>&lt;P&gt;Did you tried to change Xms value to 2048 or 4096 or more?&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 13:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326182#M95695</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-05-14T13:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326183#M95696</link>
      <description>&lt;P&gt;Hello TRF! Thank you for your answer and attention!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes I did it once... -Xms2048, but with a -Xmx245 (not sure about the value and the role of this parameter)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hedi&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 13:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326183#M95696</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-14T13:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326184#M95697</link>
      <description>&lt;P&gt;Try without use cursor in input and put a minor value on destination (batch 10.000 and commit every 10.000).&lt;/P&gt;&lt;P&gt;I think use cursor affect memory usage, if number of rows in cursor is high could be the problem. &lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 08:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326184#M95697</guid>
      <dc:creator>Alessandro_Lachina</dc:creator>
      <dc:date>2021-04-12T08:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326185#M95698</link>
      <description>&lt;P&gt;Hi in JVM parameters : xms is the minimum amount of memory you want your job use at his launch, and xmx the maximum amount of memory the job will use.&lt;/P&gt;&lt;P&gt;one exemple : xms 1024 xmx 4096 , the job will begin with 1024 and can up to 4096 when more memory usage is needed.&lt;/P&gt;&lt;P&gt;Send me Love and Kudos and Greetings from France&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 08:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326185#M95698</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-04-12T08:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "main" java.lang.OutOfMemoryError: Java heap space</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326186#M95699</link>
      <description>&lt;P&gt;Salem Hedi , &lt;/P&gt;&lt;P&gt;U can use store Temp Data in tmap &lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 13:49:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-thread-quot-main-quot-java-lang-OutOfMemoryError/m-p/2326186#M95699</guid>
      <dc:creator>kakooo16</dc:creator>
      <dc:date>2021-04-12T13:49:38Z</dc:date>
    </item>
  </channel>
</rss>

