09-25-2008 03:20 PM
03-26-2009 01:40 PM
08:26:17,984 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
08:26:17,998 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_12-b04; maximum heap size 1877.375MB
08:26:17,999 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 2.1.0 (484) schema 64
export JAVA_OPTS='-server -Xms1g -Xmx2g -XX:MaxPermSize=128m -XX:NewSize=512m'
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
09:25:45,217 ERROR [org.alfresco.web.ui.common.Utils] Failed to get completed tasks: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
09:25:53,241 ERROR [org.alfresco.web.ui.common.Utils] Failed to get pooled tasks: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
09:25:56,820 ERROR [org.alfresco.web.ui.common.Utils] Failed to get completed tasks: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
03-27-2009 08:39 AM
One of our client's installation has been really hit hard by performance issues since a couple of months, and now it's practically unuseable.
Here is our Alfresco version :08:26:17,984 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
08:26:17,998 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_12-b04; maximum heap size 1877.375MB
08:26:17,999 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 2.1.0 (484) schema 64
It is running on an Dell FC7 Quad-core Xeon machine with 10gb of RAM, Mysql Distrib 5.0.37, for redhat-linux-gnu (x86_64). It has 2 JBPM workflow definitions running about 1000 open workflow instances (and about 3000 closed instances). It has about 80gb's worth of documents, 20 concurrent users, etc. Here's the startup script JAVA_OPTS config :export JAVA_OPTS='-server -Xms1g -Xmx2g -XX:MaxPermSize=128m -XX:NewSize=512m'
And here's the java -version output :java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
After not even 15 minutes, the logs are filled with entries like :09:25:45,217 ERROR [org.alfresco.web.ui.common.Utils] Failed to get completed tasks: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
09:25:53,241 ERROR [org.alfresco.web.ui.common.Utils] Failed to get pooled tasks: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
09:25:56,820 ERROR [org.alfresco.web.ui.common.Utils] Failed to get completed tasks: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
At this point, any help would be appreciated. Thanks.
export JAVA_OPTS="-Xmx512m -Xms128m -XX:MaxPermSize=256m
03-27-2009 08:45 AM
03-27-2009 08:48 AM
Thanks Filip, But our settings are already setup that way (Xmx=2g, Xms=1g). That's a maximum for a non-64bit installation… So there must be something else….
03-27-2009 03:42 PM
org.alfresco.repo.workflow.jbpm.JBPMEngine.getPooledTasks(JBPMEngine.java:1228)
org.alfresco.repo.workflow.WorkflowServiceImpl.getPooledTasks(WorkflowServiceImpl.java:482)
org.alfresco.repo.workflow.jbpm.JBPMEngine.createWorkflowInstance(JBPMEngine.java:2762)
org.alfresco.repo.workflow.jbpm.JBPMEngine.createWorkflowPath(JBPMEngine.java:2673)
org.alfresco.repo.workflow.jbpm.JBPMEngine.createWorkflowTask(JBPMEngine.java:2830)
03-28-2009 06:07 AM
Thanks again Filip.
The out of memory happen in Alfresco JBPM Dashlet code, for sure. There is 2GB assigned to Alfresco, and the exceptions are fired by Alfresco code and not custom extension code. First, all I get is "Failed to get pooled tasks", "Failed to get completed tasks", "Failed to get all active tasks". And the lines that keep coming up are :org.alfresco.repo.workflow.jbpm.JBPMEngine.getPooledTasks(JBPMEngine.java:1228)
org.alfresco.repo.workflow.WorkflowServiceImpl.getPooledTasks(WorkflowServiceImpl.java:482)
org.alfresco.repo.workflow.jbpm.JBPMEngine.createWorkflowInstance(JBPMEngine.java:2762)
org.alfresco.repo.workflow.jbpm.JBPMEngine.createWorkflowPath(JBPMEngine.java:2673)
org.alfresco.repo.workflow.jbpm.JBPMEngine.createWorkflowTask(JBPMEngine.java:2830)
I understand that a memory problem is a memory problem, but it is definetly not coming from a JVM memory configuration problem or a usage overload. So, it must be something else… I'm wondering if anybody else has seen anything like it before….
01-20-2010 06:13 AM
02-23-2010 01:41 AM
03-21-2011 09:47 PM
03-22-2011 06:01 AM
It's a shame that Alfresco that pretends to be a major Sharepoint competitor is not investing time to create good optimization manuals like Atlassian have.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.