<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Java heap space issue in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67338#M22498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="padding: 0px;"&gt;Hai Everyone,&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;We are facing java heap space issue , can any one suggest me how solve this issue,&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #000000; text-decoration: underline;"&gt;&lt;STRONG&gt;Configurations&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;OS:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Redhat linux,&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Alfresco Version:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Alfresco-Community-5.2 (201707)&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;Solr version:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;Solr4&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;STRONG style="color: #008000;"&gt;PostgreSQL :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;9.4.12&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;System RAM:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;16GB&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;In Alfresco setenv.sh:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;we increased Maximum heap size as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;-Xmx8192M&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;In External Solr4 tomcat setenv.sh :&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;we increased Maximum heap size as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;-Xmx4096m&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;1) In Alfresco i am retrieving extra attributes through Active directory with&amp;nbsp;common-ldap-context.xml file. and adding all the users into a group based on the Attributenames for this we developed a jar file.&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;2) We configured external solr4 in the system for alfresco&lt;/P&gt;&lt;P style="padding: 0px;"&gt;3)&amp;nbsp;&amp;nbsp;Heapspace issue coming in alfresco and there are lot of connection in CLOSE_WAIT in alfresco&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;STRONG&gt;issue1&lt;/STRONG&gt;:&amp;nbsp; ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-315] Exception from executeScript: 06160091 Wrapped Exception (with status template): Java heap space&lt;BR /&gt;org.springframework.extensions.webscripts.WebScriptException: 06160091 Wrapped Exception (with status template): Java heap space&lt;BR /&gt;at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1138)&lt;BR /&gt;at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)&lt;BR /&gt;at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:512)&lt;BR /&gt;at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464)&lt;BR /&gt;at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:587)&lt;BR /&gt;at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656)&lt;BR /&gt;at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:355)&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;STRONG&gt;issue2:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ERROR [org.quartz.core.JobRunShell] [DefaultScheduler_Worker-1] Job DEFAULT.org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean#29275f3 threw an unhandled Exception:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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 '{&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.alfresco.org/model/system/1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.alfresco.org/model/system/1.0&lt;/A&gt;&lt;SPAN&gt;}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.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;&lt;/P&gt;&lt;P style="padding: 0px;"&gt;Please find the Alfresco and solr log files.&lt;A href="https://migration33.stage.lithium.com/space/2004"&gt;Alfresco Content Services (ECM)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2018 12:22:22 GMT</pubDate>
    <dc:creator>sandeepreddy1</dc:creator>
    <dc:date>2018-07-16T12:22:22Z</dc:date>
    <item>
      <title>Java heap space issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67338#M22498</link>
      <description>Hai Everyone,We are facing java heap space issue , can any one suggest me how solve this issue,Configurations:&amp;nbsp;OS:&amp;nbsp;Redhat linux,Alfresco Version:&amp;nbsp;Alfresco-Community-5.2 (201707)Solr version:&amp;nbsp;Solr4PostgreSQL :&amp;nbsp;9.4.12System RAM:&amp;nbsp;16GBIn Alfresco setenv.sh:&amp;nbsp;we increased Maximum heap size as&amp;nbsp;-Xmx8192MIn</description>
      <pubDate>Mon, 16 Jul 2018 12:22:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67338#M22498</guid>
      <dc:creator>sandeepreddy1</dc:creator>
      <dc:date>2018-07-16T12:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67339#M22499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you resolve it? I have the same problem &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 19:31:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67339#M22499</guid>
      <dc:creator>acervantes2018</dc:creator>
      <dc:date>2018-07-20T19:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67340#M22500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, increase the JMX size,Do the&amp;nbsp; solr reindex.&lt;/P&gt;&lt;P&gt;AD full synchronisation.&lt;/P&gt;&lt;P&gt;Problem solved.&lt;/P&gt;&lt;P&gt;If you want any further help , reply me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jul 2018 10:06:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67340#M22500</guid>
      <dc:creator>sandeepreddy1</dc:creator>
      <dc:date>2018-07-21T10:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67341#M22501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I could resolve it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 13:36:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67341#M22501</guid>
      <dc:creator>acervantes2018</dc:creator>
      <dc:date>2018-07-30T13:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67342#M22502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I also have same issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 10:24:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue/m-p/67342#M22502</guid>
      <dc:creator>gulatisneha56</dc:creator>
      <dc:date>2019-01-29T10:24:37Z</dc:date>
    </item>
  </channel>
</rss>

