<?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: how to prevent memory use increase in task manager during 'bad' parallel processing? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53638#M1870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And 64-bit background processing is available for ver. 10.2 as well&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/190588_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 12:23:08 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2016-03-10T12:23:08Z</dc:date>
    <item>
      <title>how to prevent memory use increase in task manager during 'bad' parallel processing?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53633#M1865</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 am currently trying to perform a model from model builder over 600,000 feature classes in arcgis 10.2 (perhaps 10.2.1 or 10.2.2)&lt;/P&gt;&lt;P&gt;In this model I use these tools (several times): viewshed analysis, raster calculator, extract by attributes, extract by mask, buffer, and erase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To speed up the calculation, I'd like to use parallel processing. But because of urgent deadlines I cannot afford to learn about the correct way to perform it. &lt;/P&gt;&lt;P&gt;I've seen that not all tools can be used in the parallel processing environment and honestly, I don't have the time to check all the tools I use or find alternatives and of course learn to debug the final model with parallelisation in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, I was told to split the work and run it in several arcgis windows opened at a same time. This works actually pretty well. &lt;/P&gt;&lt;P&gt;But after a time, if I check the Windows Task Manager, the memory use will increase a lot and at the same time the calculation speed will decrease. &lt;/P&gt;&lt;P&gt;Eventually the model crash and I have to start over where it ended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: does anyone no where precisely this comes from? Or more importantly, how to solve the problem.&lt;/P&gt;&lt;P&gt;I run the models from arctoolbox, not from model builder, so intermediate data should be erased at each run of the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 17:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53633#M1865</guid>
      <dc:creator>ColineByczek</dc:creator>
      <dc:date>2016-03-09T17:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to prevent memory use increase in task manager during 'bad' parallel processing?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53634#M1866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you see a drop in memory use before a new loop begins to reflect the removal of intermediate or unused objects?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Perhaps &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/delete.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/delete.htm"&gt;Delete—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp; to explicitly delete needs to be added in the process. And you want to make sure your environments are set to overwrite outputs &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/executing-tools/using-geoprocessing-options-to-control-tool-execution.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/executing-tools/using-geoprocessing-options-to-control-tool-execution.htm"&gt;Using geoprocessing options to control tool execution—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp; remembering that layers added and then removed can still remain linked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 18:59:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53634#M1866</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-03-09T18:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to prevent memory use increase in task manager during 'bad' parallel processing?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53635#M1867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the hardware configuration? &lt;/P&gt;&lt;P&gt;600,000 feature classes going through multiple processes is a huge task and memory consuming.&lt;/P&gt;&lt;P&gt;Have you installed 64-bit background processing package? &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/executing-tools/64bit-background.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/analyze/executing-tools/64bit-background.htm"&gt;Background Geoprocessing (64-bit)—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 04:57:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53635#M1867</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-03-10T04:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to prevent memory use increase in task manager during 'bad' parallel processing?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53636#M1868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you both for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not delete intermediary results within the model but their names are not indexed through the loop. The geoprocessing environment is set to overwrite, and I can see the files been overwritten within Windows explorer and the .lock files pop in and out. &lt;/P&gt;&lt;P&gt;I do not use layer views or table views within the model, however I did not delete the feature class layer which 'Iterate Feature Selection' directly outputs. Could that be the origin of the problem? I'll try deleting that layer after each run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There was no memory release in the task manager between interations, however between crashes there was.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am under arcgis 10.2 so 64-bit background processing is not available. I'll consider upgrading to 10.3.&amp;nbsp; But I do not run the models in background processing because I want to be able to follow the progress.&lt;/P&gt;&lt;P&gt;My computer is quite powerful: 14 CPUs and 48Go of memory. Makes up for my lack of efficiency... I know that the task is huge but it was unavoidable. I am calculating scenic beauty within viewshed from each open point within a 5,000km² zone, at a 200m resolution. I could have decreased the resolution but I'd rather learn how to solve computation problems. Each run is 7s long when starting the loop, which seemed fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end, I could perform all calculations within 24 hours of run through 10 parallel sessions, and only one crash. But I'd rather not make the same mistakes twice...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have other recommendations, thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coline&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 11:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53636#M1868</guid>
      <dc:creator>ColineByczek</dc:creator>
      <dc:date>2016-03-10T11:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to prevent memory use increase in task manager during 'bad' parallel processing?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53637#M1869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;32 bit arc-stuff only uses 4 GB so examine your memory profile carefully, I suspect that is the limit you are hitting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 11:28:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53637#M1869</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-03-10T11:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to prevent memory use increase in task manager during 'bad' parallel processing?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53638#M1870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And 64-bit background processing is available for ver. 10.2 as well&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/190588_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 12:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/how-to-prevent-memory-use-increase-in-task-manager/m-p/53638#M1870</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-03-10T12:23:08Z</dc:date>
    </item>
  </channel>
</rss>

