<?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: Process memory vs. Heap memory in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193791#M22416</link>
    <description>&lt;P&gt;BTW, this is something that happens quite frequently. One of the main reasons for having to do applications restarts after some time...&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 15:33:41 GMT</pubDate>
    <dc:creator>AntonioSousa</dc:creator>
    <dc:date>2022-09-02T15:33:41Z</dc:date>
    <item>
      <title>Process memory vs. Heap memory</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193646#M22387</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Suppose, a process memory heap size is configured as &lt;STRONG&gt;8GB&lt;/STRONG&gt;, and the process memory utilization is &lt;STRONG&gt;29G &lt;/STRONG&gt;(memory saturation occurred due to this, whereas, the heap size never reached the maximum size).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does actually it mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babar_Qayyum_0-1662015516699.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7365i192E3B5726112798/image-size/large?v=v2&amp;amp;px=999" role="button" title="Babar_Qayyum_0-1662015516699.png" alt="Babar_Qayyum_0-1662015516699.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babar_Qayyum_1-1662015606952.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7366i3CCF87DA19173B1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Babar_Qayyum_1-1662015606952.png" alt="Babar_Qayyum_1-1662015606952.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Babar&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 07:44:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193646#M22387</guid>
      <dc:creator>Babar_Qayyum</dc:creator>
      <dc:date>2022-09-02T07:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Process memory vs. Heap memory</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193689#M22394</link>
      <description>&lt;P&gt;I'm not an expert by any means, but this looks like a good explanation:&amp;nbsp;&lt;A href="https://plumbr.io/blog/memory-leaks/why-does-my-java-process-consume-more-memory-than-xmx" target="_blank"&gt;https://plumbr.io/blog/memory-leaks/why-does-my-java-process-consume-more-memory-than-xmx&lt;/A&gt;. Essentially, the jvm has some additional overhead over the heap.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 15:46:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193689#M22394</guid>
      <dc:creator>richard_guerra</dc:creator>
      <dc:date>2022-09-01T15:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Process memory vs. Heap memory</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193702#M22395</link>
      <description>&lt;P&gt;Hi Babar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be honest I have never seen before such porcess memory status. As far as I know commited heap memory at jvm metrics equals all process instance (different process indentifier on the same host) heap&amp;nbsp; size. Do you have only one jvm instance on the VM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_0-1662052155988.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7379i60487CA963637091/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mizs_0-1662052155988.png" alt="Mizs_0-1662052155988.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it possible to share the command line args in order to check the jvm start parameters?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_1-1662052440153.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/7380i2D62881AC7318464/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mizs_1-1662052440153.png" alt="Mizs_1-1662052440153.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br, Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 17:17:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193702#M22395</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2022-09-01T17:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Process memory vs. Heap memory</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193749#M22409</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please mind that the sum of all the Java memory pools will never be the total amount of memory the java process consumes from the OS. The JVM allocates also native memory for all the thread stacks, GC, symbols or native byte buffers (NIO).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also consider that not all memory pools are heap pools. So please have a look at the detailed JVM screen where all pools are listed separately. Maybe the metaspace is getting too large.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is also possible that an application is using native parts via JNI where custom native programs consume native memory that is not part of the heap.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Last but not least, it is also possible the program parts or the JVM itself does leak native memory. We have seen this on AIX for old JVMs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;best&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 09:40:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193749#M22409</guid>
      <dc:creator>harald_berger</dc:creator>
      <dc:date>2022-09-02T09:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Process memory vs. Heap memory</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193790#M22415</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/22017"&gt;@Babar_Qayyum&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You are probably in a scenario where memory leaks are occurring.&lt;/P&gt;&lt;P&gt;I normally follow it's behavior after a restart, and if it keeps allocating system memory over time, you are probably in for a leak detection. These are difficult scenarios to debug, but if you follow it over time, you will probably better doing a memory dump before it creates problems (like at 25GB) and then trying to check where the leak, or whatever is causing memory consumption to rise. From past experiences, not an easy task...&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 15:32:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193790#M22415</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2022-09-02T15:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Process memory vs. Heap memory</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193791#M22416</link>
      <description>&lt;P&gt;BTW, this is something that happens quite frequently. One of the main reasons for having to do applications restarts after some time...&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 15:33:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Process-memory-vs-Heap-memory/m-p/193791#M22416</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2022-09-02T15:33:41Z</dc:date>
    </item>
  </channel>
</rss>

