<?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: Unable to allocate memory error when running optimal path as line tool in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1227970#M11779</link>
    <description>&lt;P&gt;Hi Eli,&lt;/P&gt;&lt;P&gt;I am a Product Engineer on the Spatial Analyst team, and I would like to investigate why you are getting this error.&amp;nbsp; Would you be able to share your data with me?&amp;nbsp; If so, please email me at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:egraham@esri.com" target="_blank" rel="noopener nofollow noreferrer"&gt;egraham@esri.com&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Liz&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 16:23:28 GMT</pubDate>
    <dc:creator>ElizabethGraham</dc:creator>
    <dc:date>2022-11-02T16:23:28Z</dc:date>
    <item>
      <title>Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134471#M11549</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am having a hard time figuring out why I receive a&amp;nbsp;&lt;SPAN&gt;010005: unable to allocate memory error when running the optimal path as line tool. My inputs for the tool include a back direction and distance raster derived from the distance accumulation tool as well as the source destination, which are points in a single feature class. The rasters were created by using a mosaicked DEM as the surface raster and inputting a table representing Tobler's off-path hiking function as a cost relative to vertical movement in the distance accumulation tool. I have successfully generated several LCP's (upwards of 8 during a single run), however after so long, the optimal path as line tool stops working. When operating properly, the tool takes less than a minute to run. Recently, it takes about 20 minutes to trace cells and ultimately fail when I receive the unable to allocate memory error. When troubleshooting the error, I find this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;The computer does not have enough available memory to perform the operation.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Close down other unneeded applications to free up system memory. You can also increase the virtual memory allocation of your system. Another option is to split the input dataset into smaller sections and merge the results. Also try using a larger cell size.&lt;/P&gt;&lt;P&gt;I have reduced datasets, moved projects to a different computer, restarted the project and I do not understand why I keep receiving the error (even when trying to run a single LCP) when I did not experience any issues when&amp;nbsp; beginning my project. If anyone has any insight into this and how to resolve it, it would be very helpful and greatly appreciated.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Talissa&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Jan 2022 02:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134471#M11549</guid>
      <dc:creator>TalissaCota</dc:creator>
      <dc:date>2022-01-18T02:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134472#M11550</link>
      <description>&lt;P&gt;The obvious you tried?&amp;nbsp; New project with only the data to process.&lt;/P&gt;&lt;P&gt;There are a couple of reported issues if you are still getting failures with small datasets.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDE0MTM5MQ==" target="_blank"&gt;BUG-000141391: Optimal Path As Line exceeds memory when the input r.. (esri.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 02:27:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134472#M11550</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-01-18T02:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134489#M11551</link>
      <description>&lt;P&gt;What version is your ArcGIS Pro? Please upgrade to ver. &lt;STRONG&gt;2.9 or later&lt;/STRONG&gt; (Enhancement implemented as per the link shared by Dan), if not already done.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 08:01:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134489#M11551</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2022-01-18T08:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134680#M11552</link>
      <description>&lt;P&gt;Yes, I have tried to start a new project that included only the data for processing and still received the error. The information in the hyperlink was very informative. I am using the planar distance method since geodesic is not an option when using vertical or horizontal factor parameters. I wonder, though, if this might be a similar issue.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 17:42:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134680#M11552</guid>
      <dc:creator>TalissaCota</dc:creator>
      <dc:date>2022-01-18T17:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134684#M11553</link>
      <description>&lt;P&gt;I am using ArcGIS Pro version 2.9. I have had some issues with using outdated versions of&amp;nbsp;ArcGIS Pro in the past, so I typically check for updates whenever I begin a new project.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 17:48:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134684#M11553</guid>
      <dc:creator>TalissaCota</dc:creator>
      <dc:date>2022-01-18T17:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134765#M11554</link>
      <description>&lt;P&gt;Tech Support would be your best option&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 20:14:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134765#M11554</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-01-18T20:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134790#M11556</link>
      <description>&lt;P&gt;Hi Talissa,&lt;/P&gt;&lt;P&gt;I am a Product Engineer on the Spatial Analyst team and I would like to investigate why you are getting this error.&amp;nbsp; Would you be able to share your data with me?&amp;nbsp; If so please email me at &lt;A href="mailto:egraham@esri.com" target="_blank" rel="noopener"&gt;egraham@esri.com&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Liz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 21:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1134790#M11556</guid>
      <dc:creator>ElizabethGraham</dc:creator>
      <dc:date>2022-01-18T21:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1227857#M11778</link>
      <description>&lt;P&gt;I am having the same problem. I have a set of 76 points and I want to build a network of least cost paths between them. I created 76 pairs of distance accumulation and back direction rasters (planar distance method). Then I used the Optimal Path As Line tool with Path type = "Each cell" and Create network paths = TRUE.&lt;/P&gt;&lt;P&gt;For some pairs of rasters, the tool works fine, completing in about 30 seconds. For other pairs of rasters it runs for upwards of 20 minutes until it uses up all the memory and I get error 010005: unable to allocate memory. I tried using the deprecated Cost Path As Polyline tool and got the same result, making me think there is a problem with the rasters themselves.&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;Eli&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 12:38:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1227857#M11778</guid>
      <dc:creator>Eli_JSW</dc:creator>
      <dc:date>2022-11-02T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1227970#M11779</link>
      <description>&lt;P&gt;Hi Eli,&lt;/P&gt;&lt;P&gt;I am a Product Engineer on the Spatial Analyst team, and I would like to investigate why you are getting this error.&amp;nbsp; Would you be able to share your data with me?&amp;nbsp; If so, please email me at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:egraham@esri.com" target="_blank" rel="noopener nofollow noreferrer"&gt;egraham@esri.com&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Liz&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 16:23:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1227970#M11779</guid>
      <dc:creator>ElizabethGraham</dc:creator>
      <dc:date>2022-11-02T16:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to allocate memory error when running optimal path as line tool</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1236282#M11809</link>
      <description>&lt;P&gt;Tips&amp;nbsp; to Fix Memory Allocation Error Problem Issue&lt;BR /&gt;Restart your System. As soon as you get the Memory Allocation Error windows 10 the first thing you need to do is to restart your machine.&amp;nbsp;&lt;BR /&gt;Perform a Clean Boot.&amp;nbsp;&lt;BR /&gt;Deleting All the Temporary Files.&amp;nbsp;&lt;BR /&gt;Increase Virtual Memory.&amp;nbsp;&lt;BR /&gt;Performing CHKDSK Scan.&amp;nbsp;&lt;BR /&gt;Performing System Reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel Gomez&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 07:35:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/unable-to-allocate-memory-error-when-running/m-p/1236282#M11809</guid>
      <dc:creator>RachelGomez</dc:creator>
      <dc:date>2022-11-30T07:35:04Z</dc:date>
    </item>
  </channel>
</rss>

