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)
Could you resolve it? I have the same problem
Yes, increase the JMX size,Do the solr reindex.
AD full synchronisation.
Problem solved.
If you want any further help , reply me.
Thank you! I could resolve it!
Yes, I also have same issue.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.