<?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 Why is the Runtime creating temporary geodatabase files? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242883#M2842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Runtime v100.7.0.0 to run applications that update data in hosted feature services. I've noted that there GEODATABASE files being created in the local Temp folder: Users\[user]\AppData\Local\Temp. The files are named _*.geodatabase, for example:&lt;/P&gt;&lt;P&gt;_0c62-14a8-2e6d-8445.geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are these files created? Is there some process/method that will clean them up when the code is done?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2020 23:01:33 GMT</pubDate>
    <dc:creator>ChrisSeabrooke1</dc:creator>
    <dc:date>2020-04-17T23:01:33Z</dc:date>
    <item>
      <title>Why is the Runtime creating temporary geodatabase files?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242883#M2842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Runtime v100.7.0.0 to run applications that update data in hosted feature services. I've noted that there GEODATABASE files being created in the local Temp folder: Users\[user]\AppData\Local\Temp. The files are named _*.geodatabase, for example:&lt;/P&gt;&lt;P&gt;_0c62-14a8-2e6d-8445.geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are these files created? Is there some process/method that will clean them up when the code is done?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 23:01:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242883#M2842</guid>
      <dc:creator>ChrisSeabrooke1</dc:creator>
      <dc:date>2020-04-17T23:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Runtime creating temporary geodatabase files?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242884#M2843</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;The .geodatabase files improve performance by locally caching (per-session) features downloaded from feature services. On Windows they're in `%temp%` and will therefore be cleaned up when the current temp folder is&amp;nbsp;deleted e.g. when the machine is rebooted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively you can specify this location via the API and then clean-up when you choose:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference/html/P_Esri_ArcGISRuntime_ArcGISRuntimeEnvironment_TempPath.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference/html/P_Esri_ArcGISRuntime_ArcGISRuntimeEnvironment_TempPath.htm"&gt;ArcGISRuntimeEnvironment.TempPath Property&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2020 00:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242884#M2843</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2020-04-18T00:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Runtime creating temporary geodatabase files?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242885#M2844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The files should get auto-deleted once the garbage collector gets rid of the ServiceFeatureTable (if you hit the stop button during a debugging session, that might not get a chance to happen, so you'll probably see more of these left around when debugging, but shouldn't happen during normal production runs)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2020 00:33:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242885#M2844</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-04-18T00:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Runtime creating temporary geodatabase files?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242886#M2845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;Thank you for the answer. The code is running on a Server, so it's not rebooted very often. I'll investigate specifying the location so we can clean up the files on a scheduled basis.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2020 00:34:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242886#M2845</guid>
      <dc:creator>ChrisSeabrooke1</dc:creator>
      <dc:date>2020-04-18T00:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Runtime creating temporary geodatabase files?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242887#M2846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Morten,&lt;/P&gt;&lt;P&gt;We have tasks running on a Server and the files are not getting deleted. I'm seeing files from 2 or 3 days ago when I run the code on my local machine -- and I shut it down every day-- which according to Michael should&amp;nbsp; clean up the files. So besides debugging, what would prevent the files from being deleted?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2020 00:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242887#M2846</guid>
      <dc:creator>ChrisSeabrooke1</dc:creator>
      <dc:date>2020-04-18T00:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Runtime creating temporary geodatabase files?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242888#M2847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well Michael isn't correct &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Windows will decide to clean out the temp folder when it reaches a certain size - a restart won't affect it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Having said that I'm not sure why it happens - The Runtime hasn't really been certified to run as a multi-user service in a server, typically if files are left around it would be because a process crashed (similar to stopping a debugging session), and I don't know how you're running this in a server environment but that could be part of the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Apr 2020 15:36:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242888#M2847</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2020-04-18T15:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Runtime creating temporary geodatabase files?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242889#M2848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're running on a server or as a service, don't tell anyone at esri&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2020 16:02:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/why-is-the-runtime-creating-temporary-geodatabase/m-p/242889#M2848</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2020-04-20T16:02:39Z</dc:date>
    </item>
  </channel>
</rss>

