AnsweredAssumed Answered

Alfresco hangs every morning

Question asked by etzapata on Apr 17, 2008
Latest reply on Apr 23, 2008 by etzapata
Hi All,

Our Alfresco server should be running 24/7 but every morning (at least two weeks ago), the JBoss application server hangs. The log says out of memory error: java heap space.

javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
java.lang.OutOfMemoryError: Java heap space

I tried searching for ages but none solved my problem. I tried editing my alfresco.bat to look like:

set JAVA_OPTS=-Xms512m -Xmx1024m -Xss64k -server -XX:+CMSPermGenSweepingEnabled -XX:MaxPermSize=128m

I also modified the run.conf located in C:\ALFRESCO\jboss\bin\:

# Specify options to pass to the Java VM.
#
if [ "x$JAVA_OPTS" = "x" ]; then
   JAVA_OPTS="-server -Xms128m -Xmx512m"
fi

but still get the said error.

What did I miss? This happens every morning for two weeks now. I need to restart JBoss so that Alfresco works again but the following morning, it stops again saying the above error. I always restart the server every morning…

Does anyone knows how to make this work? Please help anyone.

I am running Alfresco v1.4 with JBoss under windows 2003 server.

Thank you very much.

EriCtZ

Outcomes