<?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 Out of memory issue with tREST API call in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2495852#M141597</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to call a tREST API that returns huge amount of data (more than 50k records) and getting "Out of Memory" error message. I tried increasing the JVM parameters (-Xms = 2048M and -Xmx=6144M) which worked for a few days but now the same issue reappeared.&lt;/P&gt;
&lt;P&gt;I am storing the data into a file in /tmp folder.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="numutesi_0-1733253198032.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175154iEC09F0EFEDE97AA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="numutesi_0-1733253198032.png" alt="numutesi_0-1733253198032.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="numutesi_1-1733253270483.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175155iBE5BBA4AA7348EB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="numutesi_1-1733253270483.png" alt="numutesi_1-1733253270483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The call to the API looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="numutesi_2-1733253342039.png" style="width: 481px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175156i9D6A28F25BF5D44C/image-dimensions/481x94?v=v2" width="481" height="94" role="button" title="numutesi_2-1733253342039.png" alt="numutesi_2-1733253342039.png" /&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;What else should I do to make this work? I believe our API does not allow pagination.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2024 19:19:21 GMT</pubDate>
    <dc:creator>numutesi</dc:creator>
    <dc:date>2024-12-03T19:19:21Z</dc:date>
    <item>
      <title>Out of memory issue with tREST API call</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2495852#M141597</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am trying to call a tREST API that returns huge amount of data (more than 50k records) and getting "Out of Memory" error message. I tried increasing the JVM parameters (-Xms = 2048M and -Xmx=6144M) which worked for a few days but now the same issue reappeared.&lt;/P&gt;
&lt;P&gt;I am storing the data into a file in /tmp folder.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="numutesi_0-1733253198032.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175154iEC09F0EFEDE97AA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="numutesi_0-1733253198032.png" alt="numutesi_0-1733253198032.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="numutesi_1-1733253270483.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175155iBE5BBA4AA7348EB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="numutesi_1-1733253270483.png" alt="numutesi_1-1733253270483.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The call to the API looks like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="numutesi_2-1733253342039.png" style="width: 481px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175156i9D6A28F25BF5D44C/image-dimensions/481x94?v=v2" width="481" height="94" role="button" title="numutesi_2-1733253342039.png" alt="numutesi_2-1733253342039.png" /&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;What else should I do to make this work? I believe our API does not allow pagination.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 19:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2495852#M141597</guid>
      <dc:creator>numutesi</dc:creator>
      <dc:date>2024-12-03T19:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory issue with tREST API call</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2497176#M141626</link>
      <description>&lt;P&gt;Can you try using the tHTTPClient component.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 19:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2497176#M141626</guid>
      <dc:creator>Sonal_Reddy_18</dc:creator>
      <dc:date>2024-12-10T19:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory issue with tREST API call</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2497422#M141632</link>
      <description>&lt;P&gt;I have never used it before but I can try. But what the difference that is going to make?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 14:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2497422#M141632</guid>
      <dc:creator>numutesi</dc:creator>
      <dc:date>2024-12-11T14:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory issue with tREST API call</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2498322#M141649</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;So I did try to use the tHTTPClient component instead of tREST but the issue of insufficient memory is still there. The job works fine when I try to retrieve only one record!&lt;/P&gt;
&lt;P&gt;So, now I really dont know what to do here!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 13:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2498322#M141649</guid>
      <dc:creator>numutesi</dc:creator>
      <dc:date>2024-12-17T13:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Out of memory issue with tREST API call</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2498378#M141652</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Try with the tHttprequest component maybe that will give a better result&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dave_Simo_0-1734450310707.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175796i414D25078F5ACDBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dave_Simo_0-1734450310707.png" alt="Dave_Simo_0-1734450310707.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And if that still doesn't work you should perhaps think about recovering the data by page (pagination) rather than trying to recover everything at once.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 15:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Out-of-memory-issue-with-tREST-API-call/m-p/2498378#M141652</guid>
      <dc:creator>Dave_Simo</dc:creator>
      <dc:date>2024-12-17T15:51:45Z</dc:date>
    </item>
  </channel>
</rss>

