<?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>Question Re: Full Grabage Collection Problem in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484732#M3016064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Faisal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I totally agree with Nicholas, but I also want to suggest you to create another server node, this will help to reduce full GC time and will increase the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Blanca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2011 14:42:56 GMT</pubDate>
    <dc:creator>blanca_serrano</dc:creator>
    <dc:date>2011-12-19T14:42:56Z</dc:date>
    <item>
      <title>Full Grabage Collection Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaq-p/8484730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was getting a "RED" EWA report sometime back for Full Garbage collection for one of our JAVA only AS. I increased the JAVA heap memory for all the server nodes (I have 3 server nodes) from 1024MB to 3072MG. After that, the problem got solved and I was getting normal report and there was not full garbage collection problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, from past 4 weeks, I have been getting the same full garbage collection. I looked into the std_server&amp;lt;no&amp;gt; files and found that, std_server0 has more number for full garbage collection recording than other two. However, I dont know what to do next in this regard. Should I again increase the heamp memory for all the nodes? If so, then what should I do if again I get this problem in future? If not, then how can I diagnose this and troubleshoot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 08:58:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaq-p/8484730</guid>
      <dc:creator>former_member184114</dc:creator>
      <dc:date>2011-12-19T08:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Full Grabage Collection Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484731#M3016063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faisal Khan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, is your JVM set according to SAP Note Note 723909 - Java VM settings for J2EE 6.40/7.0 and etc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, Garbage Collections occur when the Tenured generation fills up, that's Objects that are old enough (as determined by the JVM) get copied from the Young generation to the Tenured generation during Minor GCu2019s, and when the tenured fills up, the dead object (garbage) get swept. Normally full GC take much longer than minor GC due to the size in Tenured are much bigger than Eden.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of increasing the memory blindly, you need to find out the root cause, such as memory leak, high memory consumption by certain thread and etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please ensure below parameters are added:&lt;/P&gt;&lt;P&gt;-verbose:gc&lt;/P&gt;&lt;P&gt; -XX:+PrintGCDetails&lt;/P&gt;&lt;P&gt; -XX:+PrintGCTimeStamps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;View the log \sysID\instID\ work\std_server0.out&amp;gt; and search for the Full GC. From there, you can see how often Full GC happens, what's the duration and etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Java memory analysis and troubleshooting is not a easy topic. You can search more info on SDN or SMP and look for Java Analysis tool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your system performance impact due to high frequency of Full GC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you find those information useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Nicholas Chang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 11:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484731#M3016063</guid>
      <dc:creator>nicholas_chang</dc:creator>
      <dc:date>2011-12-19T11:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Full Grabage Collection Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484732#M3016064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Faisal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I totally agree with Nicholas, but I also want to suggest you to create another server node, this will help to reduce full GC time and will increase the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Blanca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 14:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484732#M3016064</guid>
      <dc:creator>blanca_serrano</dc:creator>
      <dc:date>2011-12-19T14:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Full Grabage Collection Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484733#M3016065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Faisal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The garbage collection frequency and duration are all relative, and therefore it is hard to give you a sound advise without a specific case.&lt;/P&gt;&lt;P&gt;The duration of full garbage collection is impacted by hardware, memory speed, and the amount of memory configured.&lt;/P&gt;&lt;P&gt;Thus if your heap space is 2GB, you will have shorter but more frequent GC, than if your memory is 3 GB. In the former case you will have lass frequent but longer full GC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you change your memory configuration, or add server nodes, could you please share how frequent and long are the garbage collections on your system?&lt;/P&gt;&lt;P&gt;What is the usage type of your system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Ventsi Tsachev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 19:19:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484733#M3016065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-19T19:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Full Grabage Collection Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484734#M3016066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ventsi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your kind reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked into &lt;STRONG&gt;std_server0.std&lt;/STRONG&gt; file and it was modified last today (12/20/2011). I searched for &lt;STRONG&gt;"Full Garbage"&lt;/STRONG&gt; and noticed that, it occurred 43 times. However, I think this is accumulated over a period of time and this will was started from &lt;STRONG&gt;12/03/2011&lt;/STRONG&gt;. Therefore, I am unable to tell you how many times it occurred in today's date. Please let me know how I can determine the same on a specific date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 06:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484734#M3016066</guid>
      <dc:creator>former_member184114</dc:creator>
      <dc:date>2011-12-20T06:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Full Grabage Collection Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484735#M3016067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicholas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, my server is set/configured according to the note mentioned by you. And the other parameters you mentioned are also availabe for each server node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i just mentioned, it occurred 43 times in &lt;STRONG&gt;std_server0.out&lt;/STRONG&gt; file which was created on &lt;STRONG&gt;12/03/2011&lt;/STRONG&gt;. This was updated on today's date last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me in diagnosing the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 06:38:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484735#M3016067</guid>
      <dc:creator>former_member184114</dc:creator>
      <dc:date>2011-12-20T06:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Full Grabage Collection Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484736#M3016068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faisal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, if the last update was on 12/03/2011, it could be the last Full GC (43rd GC) happened on this day. You can use SAP Memory Analyzer to perform java memory analysis or you'll get a nice graphic on Java memory usage if you have installed and utilize the RCA/E2E in Solman. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, i suggest you to standardize your 3 server nodes to 2GB, and add another one or two if you physical memory allows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Nicholas Chang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 07:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484736#M3016068</guid>
      <dc:creator>nicholas_chang</dc:creator>
      <dc:date>2011-12-20T07:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Full Grabage Collection Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484737#M3016069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicholas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went to RCA-&amp;gt;E2E Analysis-&amp;gt;JAVA memory Usage. The period I selected is from 12/12/2011 until 12/19/2011. I got the below details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Metric Name Average                                              Value 
   % GC TIME (LAST 5 MINUTES)                                            0 
   ALLOCATION RATE (BYTES PER S)                                 2.831 
   EFFECTIVE OLD SPACE USAGE (%)                                   28 
   FULLGC FRACTION (%)                                                        1 
   OLD SPACE GROWTH (BYTES PER S)                                -1 
   PROMOTION RATE (BYTES PER S)                                       0 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May you please help me understand t his? Specially, the Full GC Fraction(%). It says, 1. Does it mean that it took place just once for me period of selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 10:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484737#M3016069</guid>
      <dc:creator>former_member184114</dc:creator>
      <dc:date>2011-12-20T10:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Full Grabage Collection Problem</title>
      <link>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484738#M3016070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faisal, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is been a long time since i worked on E2E and the information provided is not detailed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you can download the guide from &lt;A href="https://websmp105.sap-ag.de/diagnostics" target="test_blank"&gt;https://websmp105.sap-ag.de/diagnostics&lt;/A&gt; and i think it'll be helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nicholas Chang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2011 15:35:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/full-grabage-collection-problem/qaa-p/8484738#M3016070</guid>
      <dc:creator>nicholas_chang</dc:creator>
      <dc:date>2011-12-20T15:35:04Z</dc:date>
    </item>
  </channel>
</rss>

