cancel
Showing results for 
Search instead for 
Did you mean: 

Correct errors

angfal
Champ in-the-making
Champ in-the-making
When I start Tomcat, I have next errors:

WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
ERROR [org.alfresco.util.transaction.SpringAwareUserTransaction] Transaction didn't commit
java.lang.OutOfMemoryError: Java heap space
ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener

Please, help me correct this errors!!!
3 REPLIES 3

gavinc
Champ in-the-making
Champ in-the-making
You have not allocated enough memory to the Java VM, you need to add

-Xms128m -Xmx512m

to your JAVA_OPTS line in catalina.bat (presuming you're using Tomcat on Windows)

Hope that helps.

angfal
Champ in-the-making
Champ in-the-making
I'm sorry, but it didn't help me.

angfal
Champ in-the-making
Champ in-the-making
I have this errors, then start tomcat with Eclipse. But if I start it in Alfresco Installator, then all OK.