<?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 Talend Memory Management in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321044#M91126</link>
    <description>Hi Friends 
&lt;BR /&gt;We are using Talend to import 4.5 millions of records from CSV to MYSQL DB and processing the records. We need the following things to be done, 
&lt;BR /&gt;1. To clean the memory once the talend exe file runs successfully. Currently all the process are in the memory. I thought Talend will do garbage collection. Is there are way to clean the memory/kill tasks in Talend itself. 
&lt;BR /&gt;2. Customer want the talend exe to run in low/medium priority. Can I set it in talend. 
&lt;BR /&gt;Thanks For your valuable inputs and help. 
&lt;BR /&gt;Kumar</description>
    <pubDate>Thu, 09 May 2013 11:28:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-05-09T11:28:43Z</dc:date>
    <item>
      <title>Talend Memory Management</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321044#M91126</link>
      <description>Hi Friends 
&lt;BR /&gt;We are using Talend to import 4.5 millions of records from CSV to MYSQL DB and processing the records. We need the following things to be done, 
&lt;BR /&gt;1. To clean the memory once the talend exe file runs successfully. Currently all the process are in the memory. I thought Talend will do garbage collection. Is there are way to clean the memory/kill tasks in Talend itself. 
&lt;BR /&gt;2. Customer want the talend exe to run in low/medium priority. Can I set it in talend. 
&lt;BR /&gt;Thanks For your valuable inputs and help. 
&lt;BR /&gt;Kumar</description>
      <pubDate>Thu, 09 May 2013 11:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321044#M91126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-09T11:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Memory Management</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321045#M91127</link>
      <description>Im not sure your questions make alot of sense 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; could you describe the problem you are trying to solve? 
&lt;BR /&gt;1) an exported Talend job will exit after completing successfully-- this will free any memory it was using back to the OS. The talend client will cache items in memory (like a good java program should) and so you will see it gradually use more and more untill it reaches the configured heap size. This is normal and should be fine. 
&lt;BR /&gt; 
&lt;BR /&gt;2) Im not sure why you would want to do this, but you can change the priority on windows by starting Talend with the following switches: "%comspec% /c start /low &amp;lt;talend executable&amp;gt;"</description>
      <pubDate>Thu, 09 May 2013 13:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321045#M91127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-09T13:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Memory Management</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321046#M91128</link>
      <description>Hi John
&lt;BR /&gt;Thanks for your valuable inputs,
&lt;BR /&gt;1. I wish it worked like that. I took a screenshot of Task Manager after I run the 4.5 million records 4 times (in regular interval) and I was able to see multiple processes created (e.g. cmd.exe), which was not cleaned by GC. Is there a way to invoke GC at the end of the package?. Also for components like tCSV Import does not have a dispose() method invoked or there is an option to check/uncheck dispose(). Screenshots attached.
&lt;BR /&gt;2. I exported my talend job and scheduled it in windows scheduler(.exe). Can I set priority in talend when it is running in production machine.
&lt;BR /&gt;Thanks for your time.</description>
      <pubDate>Fri, 10 May 2013 06:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321046#M91128</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-10T06:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Memory Management</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321047#M91129</link>
      <description>looks like your screenshots didnt get attached correctly, I think they may help us understand your problem a little better. 
&lt;BR /&gt; 
&lt;BR /&gt;when you run your job on windows it should run under java.exe, not cmd.exe. If you are using cmd.exe to invoke the job, you may see one running-- but it should simply be a shell and take little memory. If you are seeing cmd.exe using large amounts of memory, I would suspect that process is not related to your jobs.</description>
      <pubDate>Fri, 10 May 2013 16:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321047#M91129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-10T16:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Memory Management</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321048#M91130</link>
      <description>To your second question. It is not recommended to set the priority of a program under any OS and independently of Java or Talend. I have never seen any good influence to the performance but many problems for stability. 
&lt;BR /&gt;The Garbage Collector works within the Java Virtual Maschine and if a job ends, the GC has nothing to do because the JVM is going to shutdown. The GC does not clean processes from the OS! 
&lt;BR /&gt;dispose is not a common method for resource consuming component. Of course the tFileInputDelimited component closes the input stream but does not allocate very much memory because it does not need this. 
&lt;BR /&gt;What could happend is, if there is a huge amount of short living java objects (you read a very large and wide file) this could lead to some pause because the GC has to erase them.</description>
      <pubDate>Fri, 10 May 2013 22:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321048#M91130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-10T22:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Memory Management</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321049#M91131</link>
      <description>Hi John 
&lt;BR /&gt;Thanks. Attaching the image again. Not sure why it was not attached last time. I selected '4' Image upload slots in 'Post A Reply' page from chrome. 
&lt;BR /&gt;Hi Jlolling 
&lt;BR /&gt;Thanks. Please help, 
&lt;BR /&gt;a. How to set priority in Java or Talend if setting priority in OS is not recommended. 
&lt;BR /&gt;b. If I understood your clarification correctly, you are saying, THE GC WILL CLEAN-UP ALL THE OBJECTS BY DEFAULT AS IT IS A JAVA DEFAULT FEATURE. SINCE THERE ARE MANY OBJECTS CREATED IT IS TAKING TIME. Right 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Thanks and Kind Regards 
&lt;BR /&gt;Kumar</description>
      <pubDate>Mon, 13 May 2013 06:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Talend-Memory-Management/m-p/2321049#M91131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-13T06:45:57Z</dc:date>
    </item>
  </channel>
</rss>

