<?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: tFileOutputExcel memory error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251283#M35285</link>
    <description>Hi,&lt;BR /&gt;What if you try just to read the Excel file using tFileInputExcel?&lt;BR /&gt;If it works, try to redesign the job with tFileInputExcel and tMSSQLInput merged into a tMap.&lt;BR /&gt;Not it will solve your case, but you can try.</description>
    <pubDate>Mon, 05 Jun 2017 08:40:40 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-06-05T08:40:40Z</dc:date>
    <item>
      <title>tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251282#M35284</link>
      <description>&lt;P&gt;Hi forum&lt;/P&gt; 
&lt;P&gt;I have a problem using in a simply job how I write the result of a query in an Excel file.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="OutOfMemory.jpg" style="width: 497px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Luc9.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141981iCC6A877B624FC80A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Luc9.jpg" alt="0683p000009Luc9.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;If in the component I not set "Add to existing file" it works.&lt;/P&gt; 
&lt;P&gt;If I set "Add to existing file" I have this error:&lt;/P&gt; 
&lt;PRE&gt;Exception in thread "main" java.lang.: Java heap space&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;I tried to increase the memory value Xmx in the advanced setting of Run but without success.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;So &lt;SPAN class="alt-edited"&gt;the data you want to write the files are so many, about 300k row and the dimension of the file Excel is 26Mb.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;I work in this environment:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Lubuntu virtual machine 64bit&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;4Gb of memory&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;java version "1.8.0_102"&lt;BR /&gt;Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;It it possible to resolve&amp;nbsp; this problem?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Alessandro&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 08:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251282#M35284</guid>
      <dc:creator>AlessandroCic</dc:creator>
      <dc:date>2017-06-05T08:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251283#M35285</link>
      <description>Hi,&lt;BR /&gt;What if you try just to read the Excel file using tFileInputExcel?&lt;BR /&gt;If it works, try to redesign the job with tFileInputExcel and tMSSQLInput merged into a tMap.&lt;BR /&gt;Not it will solve your case, but you can try.</description>
      <pubDate>Mon, 05 Jun 2017 08:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251283#M35285</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-05T08:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251284#M35286</link>
      <description>&lt;P&gt;I use "Add to existing file" not because I have data to merge.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;It is a trick&lt;/SPAN&gt;&lt;/SPAN&gt; to use an Excel file model pre formatted with friezed row, auto-filter, header of column in bold etc.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;The pre formatted file is empty and only 6KiB.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Merge into a tMap non solve my case.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Alessandro&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 10:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251284#M35286</guid>
      <dc:creator>AlessandroCic</dc:creator>
      <dc:date>2017-06-05T10:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251285#M35287</link>
      <description>OK, I though the file was already a huge one. 
&lt;BR /&gt;What if you limit the number of selected rows to 100k more or less (to check if the problem is due to the output size)? 
&lt;BR /&gt;What if you redirect output to a tFileOutputDelimited component (to check if the problem is due to excel file size)?</description>
      <pubDate>Mon, 05 Jun 2017 22:07:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251285#M35287</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-05T22:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251286#M35288</link>
      <description>&lt;P&gt;Hi TRF&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;I'll explain the behaviour with more detail&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt; 
&lt;P&gt;1. in the component &lt;STRONG&gt;tFileOutputExcel &lt;/STRONG&gt;if I not check the flag "Add to existing file" &lt;STRONG&gt;it works&lt;/STRONG&gt;; &lt;SPAN class=""&gt;It generates an Excel file of about 300,000 row and 30MiB;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;2. if I set "Add to existing file" I have the memory error &lt;SPAN class="short_text"&gt;around the writing of the 50th row; the existing file is very small (6KiB) and I was expecting to have a file of 30MiB + 6KiB, really with no significant difference to &lt;/SPAN&gt;the previous point.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="short_text"&gt;I think the component tFileOutputExcel works this way&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;Flag not checked: d&lt;SPAN class="short_text"&gt;irect writing of rows to file -&amp;gt; no problems;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="short_text"&gt;Flag checked: storing rows in memory and writing to file at the end of the recordset -&amp;gt; memory error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="short_text"&gt;I increased the memory of my virtual machine from 2MiB to 4MiB and I increased the &lt;STRONG&gt;-Xmx&lt;/STRONG&gt; run parameter of my job&amp;nbsp;from 1024 to 4096 but without success.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="short_text"&gt;How can i fix this error?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="short_text"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="short_text"&gt;Alessandro&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 07:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251286#M35288</guid>
      <dc:creator>AlessandroCic</dc:creator>
      <dc:date>2017-06-06T07:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251287#M35289</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Alessandro,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What if you reverse the operation order:&lt;BR /&gt;1- write the result &lt;STRONG&gt;without&lt;/STRONG&gt; the option&amp;nbsp;&lt;SPAN&gt;"Add to existing file" checked but with the "Is absolute Y pos." option checked and the appropriate values for the "First cell X" and "First cell Y" fields + "Keep existing cell format".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2- add the missing rows (header?) from he original file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suppose your actual process is to copy the original file to the result file, then use the result file to append the records from the database.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;With the change I propose, you need to write directly to the result file, then read the original file and write at an absolute position to inject the&amp;nbsp;header.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does this matches with what you expect?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 08:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251287#M35289</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-06T08:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251288#M35290</link>
      <description>&lt;P&gt;Hi TRF&lt;/P&gt; 
&lt;P&gt;Your solution non works.&lt;/P&gt; 
&lt;P&gt;I have a memory error just after 3727 rows processed.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="SolutionTRF1.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuNc.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142414iA00D885B5049F9D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuNc.jpg" alt="0683p000009LuNc.jpg" /&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;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&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-left" image-alt="SolutionTRF2.jpg" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lupq.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132262i4D98CB58EE54B69A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lupq.jpg" alt="0683p000009Lupq.jpg" /&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;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;I think it's not a good way to try to turn around the problem.&lt;/SPAN&gt;&lt;BR /&gt;I have RAM memory available, &lt;SPAN class="short_text"&gt;we have to understand how to use It&lt;/SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 13:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251288#M35290</guid>
      <dc:creator>AlessandroCic</dc:creator>
      <dc:date>2017-06-06T13:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251289#M35291</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It looks very strange as less than 4,000 rows is not a very small value.&lt;/P&gt;
&lt;P&gt;Can you share a capture of the whole job?&lt;/P&gt;
&lt;P&gt;Also, you can try by replacing tFileOutputExcel by tFileOutputDelimited, then when the job finish, convert the resulting csv file to xlsx (using&amp;nbsp;&lt;SPAN&gt;tFileInputDelimited and&amp;nbsp;tFileOutputExcel).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 13:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251289#M35291</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-06T13:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251290#M35292</link>
      <description>&lt;P&gt;Hi TRF&lt;BR /&gt;It is obvious that if I use tFileOutputDelimited it works, &lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;do not you think so?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;I have the problem if I check the flag "Add to existing file" in the component fFileOutputExcel.&lt;/P&gt; 
&lt;P&gt;If you want to try it is very simple.&lt;/P&gt; 
&lt;P&gt;You have to create a job with a data input ("Select * From ..." what you want) &lt;SPAN class=""&gt;that it produces a recordset of approximately 200,000 rows.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;If you prefer, you can use the tFileInputDelimited component in a file with the same number of rows.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;In the fFileOutputExcel you have to check "Write excel2007" because o&lt;SPAN class="short_text"&gt;nly this format is able to handle a file with many lines.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SimpleJob.png" style="width: 327px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuKI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139056i3EF038FF0AB6F6B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuKI.png" alt="0683p000009LuKI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;At the first run you have to NOT check "Add to existing file" and you can see that it works.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Then you must clear all rows except the first (header) with Excel or similarly.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Now you check "Add to existing file" and you run the job again.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;I think that in this way you can generate the error.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Alessandro&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 12:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251290#M35292</guid>
      <dc:creator>AlessandroCic</dc:creator>
      <dc:date>2017-06-07T12:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251291#M35293</link>
      <description>&lt;P&gt;I've just tried with 250,000 lines and it works fine with an elapse time less than 1'.&lt;/P&gt; 
&lt;P&gt;The generated file is 21 Mb large.&lt;/P&gt; 
&lt;P&gt;My config is 8Gb RAM with standard JVM parameters (-Xms250M -Xmx1024M).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've also tried to add 250,000 new lines after the 250,000 existing lines and this time it failed (yep!) with a Java heap space exception (so for a total of 500,000 lines).&lt;/P&gt; 
&lt;P&gt;Now, if I delete (not just clear) all the lines but the 1st oine and retry... it works again.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Are you sure the way you use to delete the existing content from the file during the test?&lt;/P&gt; 
&lt;P&gt;In case of, try to select all the lines, then right click and delete.&lt;/P&gt; 
&lt;P&gt;Also verify where is the last line (Ctrl+Fn+End). It should be the 1st line after deletion of the content and&amp;nbsp;saving the file.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Else, I can't figure out why it doesn't works for you (and I'm very sorry to cannot solve your case), but continue to share your experiments.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 12:35:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251291#M35293</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-07T12:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251292#M35294</link>
      <description>&lt;P&gt;Hi&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;I'm very sure the file&lt;/SPAN&gt;&lt;/SPAN&gt; haven't more than one row.&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;Ctrl+Alt+End command &lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;stops on the last cell of the first line&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt; 
 &lt;LI&gt;"Full" file is 30MiB large, "empty" file only 6KiB&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN class=""&gt;Yet I still have the error&lt;/SPAN&gt;&lt;/SPAN&gt;:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at org.apache.xmlbeans.impl.store.Saver$TextSaver.resize(Saver.java:1700)
	at org.apache.xmlbeans.impl.store.Saver$TextSaver.preEmit(Saver.java:1303)
	at org.apache.xmlbeans.impl.store.Saver$TextSaver.emit(Saver.java:1190)
	at org.apache.xmlbeans.impl.store.Saver$TextSaver.emitElement(Saver.java:962)
	at org.apache.xmlbeans.impl.store.Saver.processElement(Saver.java:476)
	at org.apache.xmlbeans.impl.store.Saver.process(Saver.java:307)
	at org.apache.xmlbeans.impl.store.Saver$TextSaver.saveToString(Saver.java:1864)
	at org.apache.xmlbeans.impl.store.Cursor._xmlText(Cursor.java:546)
	at org.apache.xmlbeans.impl.store.Cursor.xmlText(Cursor.java:2436)
	at org.apache.xmlbeans.impl.values.XmlObjectBase.xmlText(XmlObjectBase.java:1500)
	at org.apache.poi.xssf.model.SharedStringsTable.getKey(SharedStringsTable.java:134)
	at org.apache.poi.xssf.model.SharedStringsTable.addEntry(SharedStringsTable.java:180)
	at org.apache.poi.xssf.usermodel.XSSFCell.setCellValue(XSSFCell.java:362)&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;In the last test I have increased the swap memory to disk to have the same value as physical memory (4Gb+4Gb)... unfortunately still unsuccessful.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;I'm pretty sure the problem is in the component.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;If I do not select "Add to existing file" in the advanced option I can set the number of row to the buffer.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;I haven't this possibility if I select "Add to existing file"; when it runs store in the memory all the data until the end of the record-set b&lt;SPAN class="short_text"&gt;ut this way it uses all the memory available as long as it ends.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN&gt;Instead with not select "Add to existing file", it writes data every XXX rows and releases memory for new data; I can see this because the size of the file it increase on the disk during processing.&lt;/SPAN&gt;&lt;BR /&gt;I not think there is a solution unless you modify the component or find a way to configure the memory usage.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Alessandro&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 17:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251292#M35294</guid>
      <dc:creator>AlessandroCic</dc:creator>
      <dc:date>2017-06-07T17:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: tFileOutputExcel memory error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251293#M35295</link>
      <description>&lt;P&gt;Well, I would like to be able to modify the component by myself, but I'm not from Talend...&lt;/P&gt; 
&lt;P&gt;Any chance to test with a PC with 8Gb RAM?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 17:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileOutputExcel-memory-error/m-p/2251293#M35295</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-06-07T17:36:11Z</dc:date>
    </item>
  </channel>
</rss>

