cancel
Showing results for 
Search instead for 
Did you mean: 

upgrading from 3.4 to 3.4.d, success, but I am getting this error message coming

bisana
Champ on-the-rise
Champ on-the-rise
Hi
Was able to upgrade 3.4. to 3.4.d
I am able to login and see the files and other details.
But I am getting error in catalaina.out as

Jan 24, 2013 2:25:26 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren
SEVERE: Exception invoking periodic operation:
java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.nio.ByteBuffer.wrap(ByteBuffer.java:350)
        at java.nio.ByteBuffer.wrap(ByteBuffer.java:373)
        at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:237)
        at java.lang.StringCoding.encode(StringCoding.java:272)
        at java.lang.String.getBytes(String.java:946)
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
        at java.io.File.exists(File.java:733)
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1229)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
        at java.lang.Thread.run(Thread.java:619)
14:25:26,350  ERROR [quartz.core.ErrorLogger] An error occured instantiating job to be executed. job= 'DEFAULT.org.springframework.scheduling.quartz.JobDetailBean#63bed674'
org.quartz.SchedulerException: Problem instantiating class 'org.alfresco.repo.node.index.IndexRecoveryJob' -  [See nested exception: java.lang.OutOfMemoryError: GC overhead limit exceeded]
        at org.quartz.core.JobRunShell.initialize(JobRunShell.java:147)
        at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:365)
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.util.Arrays.copyOf(Arrays.java:2734)
        at java.util.ArrayList.toArray(ArrayList.java:275)
        at java.util.Collections.sort(Collections.java:116)
        at org.springframework.beans.PropertyMatches.calculateMatches(PropertyMatches.java:141)
        at org.springframework.beans.PropertyMatches.<init>(PropertyMatches.java:81)
        at org.springframework.beans.PropertyMatches.forProperty(PropertyMatches.java:63)
        at org.springframework.beans.PropertyMatches.forProperty(PropertyMatches.java:53)
        at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1011)
        at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:857)
        at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:76)
        at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:62)
        at org.springframework.scheduling.quartz.SpringBeanJobFactory.createJobInstance(SpringBeanJobFactory.java:89)
        at org.alfresco.repo.scheduler.AlfrescoJobFactory.createJobInstance(AlfrescoJobFactory.java:45)
        at org.springframework.scheduling.quartz.SpringBeanJobFactory.createJobInstance(SpringBeanJobFactory.java:89)
        at org.alfresco.repo.scheduler.AlfrescoJobFactory.createJobInstance(AlfrescoJobFactory.java:45)
        at org.springframework.scheduling.quartz.AdaptableJobFactory.newJob(AdaptableJobFactory.java:37)
        at org.quartz.core.JobRunShell.initialize(JobRunShell.java:140)
        … 1 more
14:25:26,353  ERROR [job.executor.JobExecutorThread] exception in job executor thread. waiting 90000 milliseconds
org.alfresco.error.AlfrescoRuntimeException: 00240000 Exception from transactional callback: org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread$1@7480ea35
        at org.alfresco.error.AlfrescoRuntimeException.create(AlfrescoRuntimeException.java:54)
        at org.alfresco.error.AlfrescoRuntimeException.makeRuntimeException(AlfrescoRuntimeException.java:70)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:424)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:253)
        at org.alfresco.repo.workflow.jbpm.AlfrescoJobExecutorThread.acquireJobs(AlfrescoJobExecutorThread.java:95)
        at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:54)
Caused by: java.lang.OutOfMemoryError: Java heap space
        at java.util.HashMap.<init>(HashMap.java:187)
        at java.util.HashMap.<init>(HashMap.java:199)
        at java.util.LinkedHashMap.<init>(LinkedHashMap.java:172)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:382)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:375)
        at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1069)
        at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:59)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
        at $Proxy6.getAllowWrite(Unknown Source)
        at org.alfresco.repo.transaction.TransactionServiceImpl.isReadOnly(TransactionServiceImpl.java:98)
        at org.alfresco.repo.transaction.TransactionServiceImpl.getUserTransaction(TransactionServiceImpl.java:150)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:368)
        … 3 more


What would be the possible reason for this error message.
Advice and help requested
Thanks
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

the most likely reason is that your Tomcat has not been assigned enough heap memory and is struggling to free memory when new data is to be loaded into it. Depending on how much memory is needed, you can either run into a "GC overhead limit", which means it has taken Java too long to attempt to free up enough memory, or "Java heap space" when there just isn't enough memory available or that can be freed.

What are your memory settings for your Alfresco Repository?

Regards
Axel