<?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 Re: Java heap space issue on Solr4 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64843#M22012</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had the same issue. This solution resolved my problem.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Mar 2022 11:08:31 GMT</pubDate>
    <dc:creator>shrijaldave</dc:creator>
    <dc:date>2022-03-17T11:08:31Z</dc:date>
    <item>
      <title>Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64833#M22002</link>
      <description>Hi,I have a Solr issue during alfresco startup (Alfresco CE 5.2; Solr4).Following configurations in&amp;nbsp;solrconfig.xml for both workspace and&amp;nbsp;archive Spaces Store&amp;nbsp;has been changed to:mergeFactor change to 25ramBufferSizeMB change to 64as explained here&amp;nbsp;Alfresco Tuning Shortlist – : : blyx.com : : Blog :</description>
      <pubDate>Tue, 13 Mar 2018 10:21:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64833#M22002</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2018-03-13T10:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64834#M22003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When does this exception happen? Every time you upload a document? Or when you upload some specific one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 12:07:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64834#M22003</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-03-13T12:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64835#M22004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how much memory do have? Did your Index start up without the change of the mergeFactor?&lt;/P&gt;&lt;P&gt;I had to increase memory to 32GB for a big repository (about 15 mio nodes). Physical memory of the machine is about 64GB and Solr needs it all for heap and so on.&lt;/P&gt;&lt;P&gt;If you want to dump the heap in this moment, there was a hint on apache solrs docs-site:&lt;/P&gt;&lt;P class="" style="color: #000000; font-size: 16px;"&gt;&lt;/P&gt;&lt;P class="" style="color: #000000; font-size: 16px;"&gt;If you want to see the heap when OOM occurs set "-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/path/to/the/dump" (courtesy of Bill Au) &lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 18:55:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64835#M22004</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-03-13T18:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64836#M22005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may calculate the JVM memory needed for your SOLR node:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/5.2/concepts/solrnodes-memory.html" title="https://docs.alfresco.com/5.2/concepts/solrnodes-memory.html" rel="nofollow noopener noreferrer"&gt;Calculate the memory needed for Solr nodes | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 19:05:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64836#M22005</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-03-13T19:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64837#M22006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It happens only during alfresco start for about an hour. During that time I can't login.&lt;/P&gt;&lt;P&gt;When this Solr issues stopped, I can login and system run normal (load speed), but I can check that the indexing process not complete properly. I do the full reindex (deleting index of archive and workspace; model and contents) before start alfresco.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 02:23:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64837#M22006</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2018-03-14T02:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64838#M22007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 24 GB installed on my CentOS 6.6 (IBM X3300).&lt;/P&gt;&lt;P&gt;And now I restart with default of mergeFactor and ramBufferSizeMB, but it still slow start up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 02:27:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64838#M22007</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2018-03-14T02:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64839#M22008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Cesar..&lt;/P&gt;&lt;P&gt;It seems getting my docs bigger, I should pay high attentions to Solr &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 02:46:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64839#M22008</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2018-03-14T02:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64840#M22009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can also look at your cpu utilization on solr startup with top (press 1 to see all cpus). If you experience that only one cpu is used up to 100%, then it's most likely that you have a lot of "litter" in your DB. Solr detects "litter-nodes" and checks if they are referenced by any other node. This seems to be single threaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 08:15:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64840#M22009</guid>
      <dc:creator>mehe</dc:creator>
      <dc:date>2018-03-14T08:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64841#M22010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seem&amp;nbsp;all CPU are used by process.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19646" alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/19646_Clipboard01.jpg" style="width: 620px; height: 237px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 00:18:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64841#M22010</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2018-03-15T00:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64842#M22011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem has been solved since default Alfresco 5.2 heap space setting is only 1 GB which configured in&amp;nbsp;/opt/alfresco-community/tomcat/scripts/ctl.sh. I increase Xmx setting to 12 GB which has same value configured in&amp;nbsp;&lt;SPAN&gt;/opt/alfresco-community/tomcat/bin/setenv.sh (by Alfresco installation).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also post this&amp;nbsp;&lt;A __default_attr="236421" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/236421-maximum-memory-display-different" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;- which lead solving this issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[bayu]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:01:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64842#M22011</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2018-03-29T12:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Java heap space issue on Solr4</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64843#M22012</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had the same issue. This solution resolved my problem.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 11:08:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-heap-space-issue-on-solr4/m-p/64843#M22012</guid>
      <dc:creator>shrijaldave</dc:creator>
      <dc:date>2022-03-17T11:08:31Z</dc:date>
    </item>
  </channel>
</rss>

