<?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 Installing Alfresco 3.3 Community Edition on ubuntu in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212515#M165645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been struggling to install alfresco 3.3 CE on a test server for a demonstration, without much success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Every time I start Alfresco, after a few clicks the application crashes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;tomcat/logs/catalina.2010-04-21.log&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;21-Apr-2010 15:44:28 org.apache.catalina.connector.CoyoteAdapter service&lt;BR /&gt;SEVERE: An exception or error occurred in the container during the request processing&lt;BR /&gt;java.lang.OutOfMemoryError: PermGen space&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;tomcat/logs/catalina.out&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Exception in thread "DefaultScheduler_QuartzSchedulerThread" 21-Apr-2010 15:44:28 org.apache.catalina.connector.CoyoteAdapter service&lt;BR /&gt;SEVERE: An exception or error occurred in the container during the request processing&lt;BR /&gt;java.lang.OutOfMemoryError: PermGen space&lt;BR /&gt;java.lang.OutOfMemoryError: PermGen space&lt;BR /&gt;Exception in thread "RMI RenewClean-[127.0.1.1:50507]" java.lang.OutOfMemoryError: PermGen space&lt;BR /&gt;15:44:53,344&amp;nbsp; ERROR [transaction.SpringAwareUserTransaction.trace] Detected first UserTransaction which is being garbage collected without a commit() or rollback()&lt;BR /&gt;15:44:55,089&amp;nbsp; ERROR [transaction.SpringAwareUserTransaction.trace] Logging of transaction call stack is now enabled and will affect performance&lt;BR /&gt;Exception in thread "AlfrescoJbpmJobExecutor:127.0.1.1:1" java.lang.OutOfMemoryError: PermGen space&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I start java with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;export JAVA_OPTS='-Xms128m -Xmx1024m -XX:MaxPermSize=128m -server'&lt;BR /&gt;export JAVA_OPTS="${JAVA_OPTS} -Dalfresco.home=${ALF_HOME} -Dcom.sun.management.jmxremote"&lt;BR /&gt;# Following only needed for Sun JVMs before to 1.5 update 8&lt;BR /&gt;export JAVA_OPTS="${JAVA_OPTS} -XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader\$1,doBody -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeIndexes -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeDeletions"&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I have only 1GB RAM so maybe I should use a lower xmx, but if I do so, an "out of memory" exception invariably happens (I mean, even earlier). Does alfresco really needs so much memory? I assume it doesn't, because default xmx is 516. Besides, using 500mb RAM when no content is to be indexed, and a single user is logged in seems an "overkill".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My system:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Ubuntu 9.10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-java version "1.6.0_15"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Java(TM) SE Runtime Environment (build 1.6.0_15-b03)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-1GB ram&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Intel Core 2 Duo T7500&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Apr 2010 14:05:42 GMT</pubDate>
    <dc:creator>mijelh</dc:creator>
    <dc:date>2010-04-21T14:05:42Z</dc:date>
    <item>
      <title>Installing Alfresco 3.3 Community Edition on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212515#M165645</link>
      <description>I've been struggling to install alfresco 3.3 CE on a test server for a demonstration, without much success.Every time I start Alfresco, after a few clicks the application crashes:tomcat/logs/catalina.2010-04-21.log21-Apr-2010 15:44:28 org.apache.catalina.connector.CoyoteAdapter serviceSEVERE: An exc</description>
      <pubDate>Wed, 21 Apr 2010 14:05:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212515#M165645</guid>
      <dc:creator>mijelh</dc:creator>
      <dc:date>2010-04-21T14:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Alfresco 3.3 Community Edition on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212516#M165646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to increase your MaxPerm setting above 128MB.&amp;nbsp;&amp;nbsp; Try 150 or 200 if that still gives PermGen errors.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes you will struggle to run Alfresco on 1GB of RAM.&amp;nbsp;&amp;nbsp; You should ideally have enough RAM so that the OS never needs to page java out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can detune alfresco by reducing the number of JLAN and index worker threads and possibly by reducing the stack size for each thread.&amp;nbsp;&amp;nbsp; You may also be able to turn off or disable services that you don't need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 14:18:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212516#M165646</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-04-21T14:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Alfresco 3.3 Community Edition on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212517#M165647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick reply, it seems to have solved the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I have now two questions regarding memory usage:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't mid alfresco going slow on my test computer (it's just for testing after all), and memory is cheap, so if I ever use it for production I can just buy more RAM., but:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) When a PermGem error happen, AFAIK the only solution is to reboot both java and alfresco, so there is a chance that the server get blocked needing a manual restart. Is there any mechanism to prevent this from happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) How fast does memory usage increase with more users/documents? is there any data on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 15:58:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212517#M165647</guid>
      <dc:creator>mijelh</dc:creator>
      <dc:date>2010-04-21T15:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Alfresco 3.3 Community Edition on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212518#M165648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1) When a PermGem error happen, AFAIK the only solution is to reboot both java and alfresco, so there is a chance that the server get blocked needing a manual restart. Is there any mechanism to prevent this from happening?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PermGen errors are bad news.&amp;nbsp;&amp;nbsp;&amp;nbsp; But its very unlikely that you will get PermGen errors once Alfresco is up and running.&amp;nbsp;&amp;nbsp; Whether you need to restart depends upon which application server you are using.&amp;nbsp; For example WebSphere and WebLogic will probably allow your to configure memory through their admin consoles.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) How fast does memory usage increase with more users/documents? is there any data on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes there's various sources of benchmarking data, but as with all things performance related it depends more &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;upon what your users are doing. :wink:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JVM_Tuning" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JVM_Tuning&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 16:49:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212518#M165648</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-04-21T16:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Alfresco 3.3 Community Edition on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212519#M165649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Everything points to the fact that 1 GB RAM is just not enough for running Alfresco with my current configuration. I think it's ridiculous not to expend those 20€ or so on an additional GB of RAM so that's exactly what I'm doing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Apr 2010 14:59:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/installing-alfresco-3-3-community-edition-on-ubuntu/m-p/212519#M165649</guid>
      <dc:creator>mijelh</dc:creator>
      <dc:date>2010-04-22T14:59:08Z</dc:date>
    </item>
  </channel>
</rss>

