<?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: Unexpected issues while using in_memory Workspace in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097959#M25827</link>
    <description>&lt;P&gt;Do any of the issues discussed in&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/appendices/using-the-in-memory-output-workspace.htm" target="_blank" rel="noopener"&gt;Considerations when using the in_memory workspace—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;apply to your workflow in the model?&amp;nbsp; Anything being added to the display?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Sep 2021 09:51:03 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-09-14T09:51:03Z</dc:date>
    <item>
      <title>Unexpected issues while using in_memory Workspace</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097956#M25826</link>
      <description>&lt;P&gt;Hello colleagues,&lt;/P&gt;&lt;P&gt;I've created a model using ArcGIS Pro 2.5.1 that works fine when I write all outputs to the file geodatabase. So I want to improve performance and write intermediate outputs to in_memory Workspace. I was surprized to find that just changing the location of outputs that are not parameters can cause the issues.&lt;/P&gt;&lt;P&gt;For example Select by Attribute tool stops with a message "Invalid expression". After changing back to .gdb location it works fine. Here is the expression.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ROMANFILOZOF_0-1631611784922.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/22917iCAB601FCA7CE7E29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ROMANFILOZOF_0-1631611784922.png" alt="ROMANFILOZOF_0-1631611784922.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Another model stopped on Erase tool with a message "Can't open a feature class" (or something like that) but after I've changed back to .gdb it works. Than I tried to repeat the error to make screenshot but the second time it worked with "in_memory" location.&lt;/P&gt;&lt;P&gt;Have any ideas what's wrong here? I'd like my models to work fast and predictable but now I'm confused.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 09:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097956#M25826</guid>
      <dc:creator>ROMANFILOZOF</dc:creator>
      <dc:date>2021-09-14T09:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected issues while using in_memory Workspace</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097959#M25827</link>
      <description>&lt;P&gt;Do any of the issues discussed in&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/appendices/using-the-in-memory-output-workspace.htm" target="_blank" rel="noopener"&gt;Considerations when using the in_memory workspace—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;apply to your workflow in the model?&amp;nbsp; Anything being added to the display?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 09:51:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097959#M25827</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-09-14T09:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected issues while using in_memory Workspace</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097963#M25828</link>
      <description>&lt;P&gt;"in_memory" is the legacy workspace from ArcMap. ArcGIS Pro uses "memory", try using that.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 10:00:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097963#M25828</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2021-09-14T10:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected issues while using in_memory Workspace</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097978#M25830</link>
      <description>&lt;P&gt;I studied that article before posting. Unfortunately nothing there explains my situation&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 11:30:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097978#M25830</guid>
      <dc:creator>ROMANFILOZOF</dc:creator>
      <dc:date>2021-09-14T11:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected issues while using in_memory Workspace</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097979#M25831</link>
      <description>&lt;P&gt;The link in the previous post says that in_memory is used in Pro... So thanks for advise, I'll delete all "in_" from output locations and will be back with the results&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 11:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1097979#M25831</guid>
      <dc:creator>ROMANFILOZOF</dc:creator>
      <dc:date>2021-09-14T11:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected issues while using in_memory Workspace</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1098307#M25832</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16860"&gt;@ROMANFILOZOF&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You are getting the&lt;SPAN&gt;&amp;nbsp;message "Invalid expression" because the Shape_Area field is most probably not available in your shapefiles' fields by default. But when you import your shapefiles into a gdb, some fields are automatically created/calculated by the gdb. These fields are Shape_Area, Shape_Length, ... and FID becomes OBJECTID.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mehdi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 02:23:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1098307#M25832</guid>
      <dc:creator>MehdiPira1</dc:creator>
      <dc:date>2021-09-15T02:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected issues while using in_memory Workspace</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1098471#M25834</link>
      <description>&lt;P&gt;Thanks! That explains the expression error!&lt;/P&gt;&lt;P&gt;The other errors appear when I try to clear the memory Workspace using Delete tool.&lt;/P&gt;&lt;P&gt;Some features can't be read because they are already deleted and in other cases some features can't be deleted because are blocked by application.&lt;/P&gt;&lt;P&gt;Looks like there is some peculiarity of clearing the memory Workspace in a model with Iterator...&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 14:41:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unexpected-issues-while-using-in-memory-workspace/m-p/1098471#M25834</guid>
      <dc:creator>ROMANFILOZOF</dc:creator>
      <dc:date>2021-09-15T14:41:03Z</dc:date>
    </item>
  </channel>
</rss>

