<?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: OutOfMemoryError on tFileInputJson in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-on-tFileInputJson/m-p/2269453#M47699</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; A quick method is to increase the JVM parameters associated to your job to increase the memory.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can change them at Run tab -&amp;gt; Advanced Settings&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&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: 983px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3B5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134588iF0314C07E4B450EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3B5.png" alt="0683p000009M3B5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;But it is just one side of memory management. You need to verify the flow why it is taking more memory. If you are using a tMap after reading the data from source, you need to use disk operation than full memory based operation.&lt;/P&gt; 
&lt;P&gt;&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: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3BF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143726i34A77D772F9AB567/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3BF.png" alt="0683p000009M3BF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 17 Feb 2019 18:33:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-17T18:33:48Z</dc:date>
    <item>
      <title>OutOfMemoryError on tFileInputJson</title>
      <link>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-on-tFileInputJson/m-p/2269452#M47698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am in trouble with a tFileInputJson from an url.&lt;/P&gt; 
&lt;P&gt;I have the following error :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;Exception in thread "main" java.lang.OutOfMemoryError: Java heap space&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at java.util.Arrays.copyOf(Unknown Source)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at java.lang.AbstractStringBuilder.append(Unknown Source)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at java.lang.StringBuffer.append(Unknown Source)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at org.json.simple.JSONArray.toJSONString(Unknown Source)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at org.json.simple.JSONArray.toJSONString(Unknown Source)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at org.json.simple.JSONArray.toString(Unknown Source)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at p_flux1.api_grand_debat_0_1.API_Grand_Debat.tFileInputJSON_1Process(API_Grand_Debat.java:779)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at p_flux1.api_grand_debat_0_1.API_Grand_Debat.tFixedFlowInput_1Process(API_Grand_Debat.java:1920)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at p_flux1.api_grand_debat_0_1.API_Grand_Debat.runJobInTOS(API_Grand_Debat.java:2171)&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;at p_flux1.api_grand_debat_0_1.API_Grand_Debat.main(API_Grand_Debat.java:2020)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;The job is running for like 15min, the tFileInputJSon is stuck at Starting, and the error comes.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;I dont find any solution, and i can't limit the data to dowload from the url Json doc.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;Any help is welcome.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;Regards,&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;Pierre&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-on-tFileInputJson/m-p/2269452#M47698</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: OutOfMemoryError on tFileInputJson</title>
      <link>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-on-tFileInputJson/m-p/2269453#M47699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; A quick method is to increase the JVM parameters associated to your job to increase the memory.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can change them at Run tab -&amp;gt; Advanced Settings&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&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: 983px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3B5.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134588iF0314C07E4B450EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3B5.png" alt="0683p000009M3B5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;But it is just one side of memory management. You need to verify the flow why it is taking more memory. If you are using a tMap after reading the data from source, you need to use disk operation than full memory based operation.&lt;/P&gt; 
&lt;P&gt;&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: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M3BF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143726i34A77D772F9AB567/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M3BF.png" alt="0683p000009M3BF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 18:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-on-tFileInputJson/m-p/2269453#M47699</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-17T18:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: OutOfMemoryError on tFileInputJson</title>
      <link>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-on-tFileInputJson/m-p/2269454#M47700</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry for delay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No it's not working, i have tried that trick already and i still get the same error, the file is really huge :&lt;/P&gt;&lt;P&gt;&lt;A href="http://opendata.auth-6f31f706db6f4a24b55f42a6a79c5086.storage.sbg5.cloud.ovh.net/2019-01-31/LA_TRANSITION_ECOLOGIQUE.json" target="_self" rel="nofollow noopener noreferrer"&gt;http://opendata.auth-6f31f706db6f4a24b55f42a6a79c5086.storage.sbg5.cloud.ovh.net/2019-01-31/LA_TRANSITION_ECOLOGIQUE.json&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess i should use a trest component but i could not make it work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 21:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/OutOfMemoryError-on-tFileInputJson/m-p/2269454#M47700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-26T21:33:49Z</dc:date>
    </item>
  </channel>
</rss>

