<?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: Memory Leak Problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101470#M70456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately that is the nature of the Java VM rather than Alfresco specifically &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; If you allocate a max of say 512MB to JVM it will eventually consume it all and then garbage collect the memory internally to release it when it hits the ceiling. So it "appears" to leak until the garbage collector does it's trick. It might be worth reading up on the JVM and the various configuration parameters as it can be tuned in many different ways, including controlling how often and what style of garbage collection (multi-threaded, incremental etc.) the VM is using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you saw after the big import the garbage collector collected most of the used memory, but the VM has kept the total memory space allocated in use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 13:49:12 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2007-06-08T13:49:12Z</dc:date>
    <item>
      <title>Memory Leak Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101465#M70451</link>
      <description>Hello,I have an Alfresco Instance installed and configured on the following box:Linux 4.2 Kernel 2.6.9JVM 1.5.0_11MySQL 5.0.37Geronimo 1.1.1After loading about 600 Mo worth of content through Alfresco FTP Virtual Server, I am getting a memory leak.After I start the alfresco instance, the JVM use up</description>
      <pubDate>Thu, 31 May 2007 20:19:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101465#M70451</guid>
      <dc:creator>habib_adnan</dc:creator>
      <dc:date>2007-05-31T20:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leak Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101466#M70452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure you have a "leak" - what version of Alfresco are you using? How much memory did you give the JVM? Are there any other processes running on the app-server? Are you using Geronimo for the app-server? If so can you provide more details on how you deployed Alfresco on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 09:42:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101466#M70452</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-01T09:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leak Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101467#M70453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are you sure you have a "leak" - what version of Alfresco are you using? How much memory did you give the JVM? Are there any other processes running on the app-server? Are you using Geronimo for the app-server? If so can you provide more details on how you deployed Alfresco on it.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Kevin&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I am running Alfresco 2.0 on Geronimo 1.1.1 All I had to do &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is write a deployment plan geronimo-web.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On geronimo app server there is a console that displays continously &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the memory used by the jvm. after i start alfresco the app use up all the memory i have configured in JAVA_OPTS&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2007 20:21:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101467#M70453</guid>
      <dc:creator>habib_adnan</dc:creator>
      <dc:date>2007-06-01T20:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leak Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101468#M70454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By default Alfresco uses some large internal memory caches - it will use 512MB if it's available very quickly - these can be tuned to be much smaller if you require. As i say, are you sure it's a "leak" - i.e. if you give the server 512MB or 1GB does it actually cause out-of-memory errors or just take all the memory up as cache.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 09:26:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101468#M70454</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-04T09:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leak Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101469#M70455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;By default Alfresco uses some large internal memory caches - it will use 512MB if it's available very quickly - these can be tuned to be much smaller if you require. As i say, are you sure it's a "leak" - i.e. if you give the server 512MB or 1GB does it actually cause out-of-memory errors or just take all the memory up as cache.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Kevin&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Kevin for your pointer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;being an ex C developer, I have just panicked seing the VM using all my 1.7 Go RAM, and my server not responding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In fact I was trying to transfer 400 Mo through the alfresco ftp instance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but after giving the time to complete, the VM used memory droped to 103 Mo. the 1.6 Go stayed allocated&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 16:36:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101469#M70455</guid>
      <dc:creator>habib_adnan</dc:creator>
      <dc:date>2007-06-07T16:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Memory Leak Problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101470#M70456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately that is the nature of the Java VM rather than Alfresco specifically &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; If you allocate a max of say 512MB to JVM it will eventually consume it all and then garbage collect the memory internally to release it when it hits the ceiling. So it "appears" to leak until the garbage collector does it's trick. It might be worth reading up on the JVM and the various configuration parameters as it can be tuned in many different ways, including controlling how often and what style of garbage collection (multi-threaded, incremental etc.) the VM is using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you saw after the big import the garbage collector collected most of the used memory, but the VM has kept the total memory space allocated in use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 13:49:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/memory-leak-problem/m-p/101470#M70456</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-08T13:49:12Z</dc:date>
    </item>
  </channel>
</rss>

