<?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: Error When Using in_memory to Process Polyline Features in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697169#M23116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no indication in the help for either arcmap or ArcGIS pro that it can't be run in-memory... but it will fail if you run out of memory.&amp;nbsp; I suspect why it was running slowly on disk is because it was swapping in and out to disk.&amp;nbsp; Perhaps your file is too large to handle in-memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Pro at least, there is the...&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/cartographic-partitions.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/cartographic-partitions.htm"&gt;Cartographic Partitions (Environment setting)—Geoprocessing | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;environment setting that can be used for large data sets to help things along.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2018 18:47:42 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-07-18T18:47:42Z</dc:date>
    <item>
      <title>Error When Using in_memory to Process Polyline Features</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697166#M23113</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;I'm trying to run a script that will generate a contour map from a raster in a geodatabase, run Simplify Line on the contour map, and then run Smooth Line. At first I ran it in disk, and it worked (albeit slowly), and now I'd like to do it using the in_memory workspace. However, it returns the error message at the bottom. I've tried this in PyScripter and ArcMap with both foreground and background (64-bit) geoprocessing, and the result is the same. What is the problem with my code that is causing this to fail when I use the in_memory workspace?&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------------
# Snippet.py
# Created on: 2018-07-17 11:14:47.00000
#&amp;nbsp;&amp;nbsp; (generated by ArcGIS/ModelBuilder)
# Description:
# ---------------------------------------------------------------------------

# Import arcpy module
import arcpy
from arcpy.sa import *
from arcpy.ddd import *
arcpy.CheckOutExtension("Spatial")
arcpy.CheckOutExtension("3D")

# Local variables:
FilteredDEM = "D:\\ArcGIS\\FloodMapGenerator\\FloodMapGenerator.gdb\\FilteredDEM"
FiveMeterContour = "in_memory\\FiveMeterContour"
FiveMeterSimplify_Pnt = FiveMeterContour
FiveMeterSimplify = "in_memory\\FiveMeterSimplify"
FiveMeterSmooth = "in_memory\\FiveMeterSmooth"

# Process: Contour
arcpy.Contour_3d(FilteredDEM, FiveMeterContour, "5", "0", "1")

# Process: Simplify Line
arcpy.SimplifyLine_cartography(FiveMeterContour, FiveMeterSimplify, "BEND_SIMPLIFY", "5 Meters", collapsed_point_option = "NO_KEEP", error_checking_option = "NO_CHECK")

# Process: Smooth Line
arcpy.SmoothLine_cartography(FiveMeterSimplify, FiveMeterSmooth, "BEZIER_INTERPOLATION", "0 Meters", "FIXED_CLOSED_ENDPOINT", "NO_CHECK")

arcpy.CheckInExtension("Spatial")
arcpy.CheckInExtension("3D")&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime error Traceback (most recent call last): File "", line 27, in File "c:\program files (x86)\arcgis\desktop10.4\arcpy\arcpy\cartography.py", line 1340, in SimplifyLine raise e ExecuteError: ERROR 000207: Cannot create intermediate output GPInMemoryWorkspace:{5568791D-08F7-4A36-BC5F-A640D3D64572}\FiveMeterSimplify_TmpIn Failed to execute (SimplifyLine).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:20:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697166#M23113</guid>
      <dc:creator>MatthewWiecek</dc:creator>
      <dc:date>2021-12-12T05:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Using in_memory to Process Polyline Features</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697167#M23114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2016/08/14/script-formatting"&gt;/blogs/dan_patterson/2016/08/14/script-formatting&lt;/A&gt; please to format your code.&lt;/P&gt;&lt;P&gt;Also you have a bunch of lines with … at the end.&amp;nbsp; Are they really there? or are they remnants from commenting,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 15:50:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697167#M23114</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-18T15:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Using in_memory to Process Polyline Features</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697168#M23115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry about that, thanks for the link. Is this better?&amp;nbsp;As for the period, I copied it out of the Python window, and they were part of that. I just removed them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 18:39:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697168#M23115</guid>
      <dc:creator>MatthewWiecek</dc:creator>
      <dc:date>2018-07-18T18:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Using in_memory to Process Polyline Features</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697169#M23116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no indication in the help for either arcmap or ArcGIS pro that it can't be run in-memory... but it will fail if you run out of memory.&amp;nbsp; I suspect why it was running slowly on disk is because it was swapping in and out to disk.&amp;nbsp; Perhaps your file is too large to handle in-memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Pro at least, there is the...&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/cartographic-partitions.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/cartographic-partitions.htm"&gt;Cartographic Partitions (Environment setting)—Geoprocessing | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;environment setting that can be used for large data sets to help things along.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 18:47:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697169#M23116</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-18T18:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Using in_memory to Process Polyline Features</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697170#M23117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use virtual memory in system windows to allocated memory processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pada tanggal Kam, 19 Jul 2018 pukul 01.48 Dan Patterson &amp;lt;geonet@esri.com&amp;gt;&lt;/P&gt;&lt;P&gt;menulis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;GeoNet &amp;lt;https://community.esri.com/?et=watches.email.thread&amp;gt;&lt;/P&gt;&lt;P&gt;Re: Error When Using in_memory to Process Polyline Features&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Dan Patterson&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.esri.com/people/Dan_Patterson?et=watches.email.thread&amp;gt;&lt;/P&gt;&lt;P&gt;in &lt;STRONG&gt;Geoprocessing&lt;/STRONG&gt; - View the full discussion&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.esri.com/message/785679-re-error-when-using-inmemory-to-process-polyline-features?commentID=785679&amp;amp;et=watches.email.thread#comment-785679&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 02:07:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697170#M23117</guid>
      <dc:creator>MartinM__Baihaqi</dc:creator>
      <dc:date>2018-07-19T02:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Using in_memory to Process Polyline Features</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697171#M23118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and that is different than in-memory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 02:37:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697171#M23118</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-19T02:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Using in_memory to Process Polyline Features</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697172#M23119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How big are the data sets you are working with, both inputs and the final output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 20:35:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/error-when-using-in-memory-to-process-polyline/m-p/697172#M23119</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-07-19T20:35:25Z</dc:date>
    </item>
  </channel>
</rss>

