<?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 Geocoding service continues to utilize Memory. in Publishing and Managing Services Questions</title>
    <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geocoding-service-continues-to-utilize-memory/m-p/1381720#M1137</link>
    <description>&lt;P&gt;My geocoding service instance continues to utilize a high percentage of memory, even after the process has returned results and should be done running.&amp;nbsp; The only way I have found to reduce it thus far is to restart the server.&amp;nbsp;&amp;nbsp;Is this normal practice? Should it be running this way or is there a way to have it let go of its hold on memory?&amp;nbsp; I am thinking either the usage time out setting or the recycling setting?&lt;/P&gt;&lt;P&gt;The server in question is currently running with 16GB memory. It is run in a virtual environment.&lt;/P&gt;&lt;P&gt;I have the current geocoding service set up with a Min and Max of 4 instances per machine.&lt;/P&gt;&lt;P&gt;Max time a client can use the service is 36000 seconds. (This was increased due to the potential of large tables that might be submitted for geocoding.&amp;nbsp; Should this be reduced?)&lt;/P&gt;&lt;P&gt;Max time to wait is 60 seconds.&lt;/P&gt;&lt;P&gt;Max time an idle instance can be kept running is 1800 seconds. (The instances appear to stay active beyond this setting so I don't think this is the issue.)&lt;/P&gt;&lt;P&gt;By default, I have the instance recycle set at 24hrs. Can this be changed to force the instances to recycle after 30 mins? Would this create the change I am looking for?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 17:52:24 GMT</pubDate>
    <dc:creator>ghaskett_aaic</dc:creator>
    <dc:date>2024-02-13T17:52:24Z</dc:date>
    <item>
      <title>Geocoding service continues to utilize Memory.</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geocoding-service-continues-to-utilize-memory/m-p/1381720#M1137</link>
      <description>&lt;P&gt;My geocoding service instance continues to utilize a high percentage of memory, even after the process has returned results and should be done running.&amp;nbsp; The only way I have found to reduce it thus far is to restart the server.&amp;nbsp;&amp;nbsp;Is this normal practice? Should it be running this way or is there a way to have it let go of its hold on memory?&amp;nbsp; I am thinking either the usage time out setting or the recycling setting?&lt;/P&gt;&lt;P&gt;The server in question is currently running with 16GB memory. It is run in a virtual environment.&lt;/P&gt;&lt;P&gt;I have the current geocoding service set up with a Min and Max of 4 instances per machine.&lt;/P&gt;&lt;P&gt;Max time a client can use the service is 36000 seconds. (This was increased due to the potential of large tables that might be submitted for geocoding.&amp;nbsp; Should this be reduced?)&lt;/P&gt;&lt;P&gt;Max time to wait is 60 seconds.&lt;/P&gt;&lt;P&gt;Max time an idle instance can be kept running is 1800 seconds. (The instances appear to stay active beyond this setting so I don't think this is the issue.)&lt;/P&gt;&lt;P&gt;By default, I have the instance recycle set at 24hrs. Can this be changed to force the instances to recycle after 30 mins? Would this create the change I am looking for?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 17:52:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geocoding-service-continues-to-utilize-memory/m-p/1381720#M1137</guid>
      <dc:creator>ghaskett_aaic</dc:creator>
      <dc:date>2024-02-13T17:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding service continues to utilize Memory.</title>
      <link>https://community.esri.com/t5/publishing-and-managing-services-questions/geocoding-service-continues-to-utilize-memory/m-p/1400360#M1152</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/510780"&gt;@ghaskett_aaic&lt;/a&gt;&amp;nbsp;the behavior you are witnessing is expected behavior.&amp;nbsp; Essentially what is occurring is caching and/or batch-geocoding.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When utilizing the GeocodeServer the input/output will be cached so when you input an address/place/etc it will have those results readily available to provide you a faster response.&amp;nbsp; The results are cached/stored in memory and will continue to do this until a ArcGIS Server restart OR recycle interval time is reached (default timing is 24 hours).&lt;BR /&gt;&lt;BR /&gt;Batch-Geocoding will flex the memory consumption about 2x the memory total of an idle GeocodeServer ArcSOC (example if the service while idle is about 1.2gb, and batch-geocoding is enabled, default threads is 4, you would see the memory up around 2ish GB when batch geocoding is done).&lt;BR /&gt;&lt;BR /&gt;Best course of action in my opinion would be to reduce the recycle interval to something a little more frequent like every hour or so.&amp;nbsp; This should help keep memory consumptions down.&amp;nbsp; Having 4 instances running that are heavier GeocodeServices with only 16GB of memory can make things tight for resources.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 14:51:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/publishing-and-managing-services-questions/geocoding-service-continues-to-utilize-memory/m-p/1400360#M1152</guid>
      <dc:creator>TrevorNickolai</dc:creator>
      <dc:date>2024-03-25T14:51:40Z</dc:date>
    </item>
  </channel>
</rss>

