AnsweredAssumed Answered

java.lang.OutOfMemoryError: PermGen space

Question asked by filippo on May 11, 2010
Latest reply on Jul 14, 2011 by jdixon16
Hi,
I am trying to install Alfresco WAR to an existing Tomcat server. Here are the details of my software stack:
- Alfresco Community Edition 3.3 WAR
- Red Hat Enterprise Linux Server release 5.4 (Tikanga)
- Sun jdk1.6.0_20
- MySQL 5.0.77
- Apache Tomcat 5.5.29

After creating the alfresco database in MySQL and deploying Alfresco WAR (after having modified the […]apache-tomcat-5/shared/classes/alfresco-global.properties), when I start Tomcat I get the following error:

User:System WARN  [repo.dictionary.DictionaryRepositoryBootstrap] StoreRef 'workspace://SpacesStore' does not exist

After this WARN, and some time of no activity, the system goes out of memory… The problem, I believe, lies within the above WARN, but
I cannot find anywhere the solution to this problem. Help would be very much appreciated, …please.. :)

A more detailed catalina.out is here:
17:53:31,986  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
17:53:31,989  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
17:53:31,989  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/var/apache-tomcat-5/shared/classes/alfresco-global.properties]
17:53:32,114  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
17:53:47,611  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
17:53:47,613  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
17:53:58,713  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
17:53:59,471  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
17:53:59,895  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
17:53:59,912  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
17:54:00,128  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
17:54:00,291 User:System WARN  [repo.dictionary.DictionaryRepositoryBootstrap] StoreRef 'workspace://SpacesStore' does not exist
java.lang.reflect.InvocationTargetException
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space

Outcomes