<?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 Understanding Java heap behavior in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-java-heap-behavior/m-p/1673562#M43601</link>
    <description>&lt;P&gt;I’m trying to better understand how the Java heap behaves in ArcGIS Enterprise. I don’t have any background in Java memory management beyond some recent research, so I’d appreciate clarification to make sure I’m interpreting this correctly.&lt;/P&gt;&lt;P&gt;From what I’ve gathered, Java in ArcGIS Enterprise is configured to allow the heap to grow up to the configured -Xmx value (typically 80% of available physical memory). However, it appears that once the heap expands, the Garbage Collector does not shrink the heap, even if memory within the heap is freed.&lt;/P&gt;&lt;P&gt;If this understanding is correct, then:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The javaw.exe process may continue to show a large amount of committed memory, even when much of that heap space is no longer actively in use.&lt;/LI&gt;&lt;LI&gt;As a result, overall memory utilization on the machine can appear high, driven primarily by Java’s committed memory, even though this does not necessarily reflect memory pressure or exhaustion within ArcGIS Server itself.&lt;/LI&gt;&lt;LI&gt;This makes me question the effectiveness of monitoring physical memory usage alone in ArcGIS Enterprise, as there would be cases where the Java heap is exhausted, causing a component to become unresponsive or crash, while system memory utilization never reaches 100%.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm considering submitting an ArcGIS Idea to request that ArcGIS Monitor expose Java heap related metrics, but I just wanted to confirm my understanding first. Ideally, I’d prefer not to rely on third-party Java heap monitoring tools, though I’d be interested to hear if others are using any specific tools or approaches.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Dec 2025 12:22:24 GMT</pubDate>
    <dc:creator>TimoT</dc:creator>
    <dc:date>2025-12-17T12:22:24Z</dc:date>
    <item>
      <title>Understanding Java heap behavior</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-java-heap-behavior/m-p/1673562#M43601</link>
      <description>&lt;P&gt;I’m trying to better understand how the Java heap behaves in ArcGIS Enterprise. I don’t have any background in Java memory management beyond some recent research, so I’d appreciate clarification to make sure I’m interpreting this correctly.&lt;/P&gt;&lt;P&gt;From what I’ve gathered, Java in ArcGIS Enterprise is configured to allow the heap to grow up to the configured -Xmx value (typically 80% of available physical memory). However, it appears that once the heap expands, the Garbage Collector does not shrink the heap, even if memory within the heap is freed.&lt;/P&gt;&lt;P&gt;If this understanding is correct, then:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The javaw.exe process may continue to show a large amount of committed memory, even when much of that heap space is no longer actively in use.&lt;/LI&gt;&lt;LI&gt;As a result, overall memory utilization on the machine can appear high, driven primarily by Java’s committed memory, even though this does not necessarily reflect memory pressure or exhaustion within ArcGIS Server itself.&lt;/LI&gt;&lt;LI&gt;This makes me question the effectiveness of monitoring physical memory usage alone in ArcGIS Enterprise, as there would be cases where the Java heap is exhausted, causing a component to become unresponsive or crash, while system memory utilization never reaches 100%.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm considering submitting an ArcGIS Idea to request that ArcGIS Monitor expose Java heap related metrics, but I just wanted to confirm my understanding first. Ideally, I’d prefer not to rely on third-party Java heap monitoring tools, though I’d be interested to hear if others are using any specific tools or approaches.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 12:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-java-heap-behavior/m-p/1673562#M43601</guid>
      <dc:creator>TimoT</dc:creator>
      <dc:date>2025-12-17T12:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Java heap behavior</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-java-heap-behavior/m-p/1676612#M43661</link>
      <description>&lt;P&gt;Submitted an idea in ArcGIS Monitor Ideas -&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-monitor-ideas/include-java-heap-metrics-in-arcgis-monitor/idi-p/1674615" target="_blank" rel="noopener"&gt;Include Java heap metrics in ArcGIS Monitor&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 07:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-java-heap-behavior/m-p/1676612#M43661</guid>
      <dc:creator>TimoT</dc:creator>
      <dc:date>2026-01-08T07:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Understanding Java heap behavior</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-java-heap-behavior/m-p/1683775#M43789</link>
      <description>&lt;P&gt;I don't recall looking at JAva Heap settins before, but I have noticed that a system which seems to not have a lot o ffree memory, a restart may restore some of that 'data space'.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 19:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/understanding-java-heap-behavior/m-p/1683775#M43789</guid>
      <dc:creator>TimWestern</dc:creator>
      <dc:date>2026-02-11T19:43:50Z</dc:date>
    </item>
  </channel>
</rss>

