<?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 Geoprocessing Script memory leak? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-script-memory-leak/m-p/385292#M13107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any way to debug geoprocessor memory leaks?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am scripting pyramid generation for a raster catalog (more than one million datasets) in 9.3.1 and after 6000 raster datasets i'm using 620mb of ram, after 6500 raster datasets i'm using 667mb, and when it hits 2gb ram usage it crashes since its a 32bit app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; My catalog is in a filegeodatabase as an unmanaged raster catalog.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Apr 2010 19:17:22 GMT</pubDate>
    <dc:creator>CurtisRuck</dc:creator>
    <dc:date>2010-04-16T19:17:22Z</dc:date>
    <item>
      <title>Geoprocessing Script memory leak?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-script-memory-leak/m-p/385292#M13107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any way to debug geoprocessor memory leaks?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am scripting pyramid generation for a raster catalog (more than one million datasets) in 9.3.1 and after 6000 raster datasets i'm using 620mb of ram, after 6500 raster datasets i'm using 667mb, and when it hits 2gb ram usage it crashes since its a 32bit app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; My catalog is in a filegeodatabase as an unmanaged raster catalog.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 19:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-script-memory-leak/m-p/385292#M13107</guid>
      <dc:creator>CurtisRuck</dc:creator>
      <dc:date>2010-04-16T19:17:22Z</dc:date>
    </item>
    <item>
      <title>Geoprocessing Script memory leak?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-script-memory-leak/m-p/385293#M13108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can use Heapy&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://guppy-pe.sourceforge.net/"&gt;http://guppy-pe.sourceforge.net/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will help you examine memory leaks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is some code to get you started:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from guppy import hpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;h = hpy()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;print h.heap()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also try this: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://bruynooghe.blogspot.com/2008/12/finding-memory-leaks-in-python.html"&gt;http://bruynooghe.blogspot.com/2008/12/finding-memory-leaks-in-python.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;or this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://mg.pov.lt/blog/hunting-python-memleaks"&gt;http://mg.pov.lt/blog/hunting-python-memleaks&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Happy Memory Leak Hunting!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 15:01:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/geoprocessing-script-memory-leak/m-p/385293#M13108</guid>
      <dc:creator>AndrewChapkowski</dc:creator>
      <dc:date>2010-04-27T15:01:08Z</dc:date>
    </item>
  </channel>
</rss>

