07-16-2018 08:22 AM
Hai Everyone,
We are facing java heap space issue , can any one suggest me how solve this issue,
Configurations:
OS: Redhat linux,
Alfresco Version: Alfresco-Community-5.2 (201707)
Solr version: Solr4
PostgreSQL : 9.4.12
System RAM: 16GB
In Alfresco setenv.sh: we increased Maximum heap size as -Xmx8192M
In External Solr4 tomcat setenv.sh : we increased Maximum heap size as -Xmx4096m
1) In Alfresco i am retrieving extra attributes through Active directory with common-ldap-context.xml file. and adding all the users into a group based on the Attributenames for this we developed a jar file.
2) We configured external solr4 in the system for alfresco
3) Heapspace issue coming in alfresco and there are lot of connection in CLOSE_WAIT in alfresco
issue1: ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-315] Exception from executeScript: 06160091 Wrapped Exception (with status template): Java heap space
org.springframework.extensions.webscripts.WebScriptException: 06160091 Wrapped Exception (with status template): Java heap space
at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1138)
at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:512)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:355)
issue2: ERROR [org.quartz.core.JobRunShell] [DefaultScheduler_Worker-1] Job DEFAULT.org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean#29275f3 threw an unhandled Exception:
org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'run' on target class [class org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.DynamicCollectionProcessor] failed; nested exception is org.alfresco.repo.lock.LockAcquisitionException: 06160447 Failed to release lock '{http://www.alfresco.org/model/system/1.0}org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.dynamiccollectionprocessor' using token '2501a540-d22f-4de7-8c14-46d1e81a5e3b'. The lock has expired and been taken by another process.
Please find the Alfresco and solr log files.Alfresco Content Services (ECM)
07-20-2018 03:31 PM
Could you resolve it? I have the same problem
07-21-2018 06:06 AM
Yes, increase the JMX size,Do the solr reindex.
AD full synchronisation.
Problem solved.
If you want any further help , reply me.
07-30-2018 09:36 AM
Thank you! I could resolve it!
01-29-2019 05:24 AM
Yes, I also have same issue.
Explore our Alfresco products with the links below. Use labels to filter content by product module.