AnsweredAssumed Answered

demarrer alfresco:java.lang.OutOfMemoryError: PermGen space

Question asked by tchotchatown on Feb 4, 2008
Latest reply on Feb 4, 2008 by rivarola
au démarrage de alfresco (chargement treeeeees long) puis j'ai l'erreur suivante:



13:16:48,862 ERROR [[Catalina].[localhost].[/alfresco]] Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patch.emailTemplatesContent' defined in file [/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/patch/patch-services-context.xml]: Initialization of bean failed; nested exception is java.lang.OutOfMemoryError: PermGen space
Caused by:
java.lang.OutOfMemoryError: PermGen space
   at sun.misc.Unsafe.defineClass(Native Method)
   at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
   at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
   at java.security.AccessController.doPrivileged(Native Method)
   at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
   at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:786)
   at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:606)
   at org.springframework.beans.AbstractPropertyAccessor.setPropertyValue(AbstractPropertyAccessor.java:49)
   at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:74)
   at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)
   at org.springframework.beans.factory.support.AbstractBeanFactory.applyPropertyValues(AbstractBeanFactory.java:840)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1026)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:809)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:273)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
   at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1176)
   at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:542)
4 févr. 2008 13:16:48 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
4 févr. 2008 13:16:48 org.apache.catalina.core.StandardContext start
GRAVE: Erreur de démarrage du contexte [/alfresco] suite aux erreurs précédentes
Exception in thread "DefaultScheduler_Worker-1" java.lang.OutOfMemoryError: PermGen space
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:564)

est ce qu'il y a une solution??
merci

Outcomes