<?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: Spatial Join CRASHING at 10 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121382#M4218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Last post mentioned this was fixed in 10 SP2, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running SP3 and experiencing a similar issue. A model I've created that uses Spatial Join works fine in 9.3.1 but crashes in Arc10. I isolated it down to just the Spatial Join command, and created a model that just executes spatial join and it crashes every time. I tested the background geoprocessing on/off solution with no success. Same process works fine in 10 when executed outside of ModelBuilder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The spatial join is one-to-many, closest with a set maximum search distance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice on solutions would be most appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 15:02:50 GMT</pubDate>
    <dc:creator>BrianBatten</dc:creator>
    <dc:date>2012-02-09T15:02:50Z</dc:date>
    <item>
      <title>Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121371#M4207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, I can run about 5 consecutive processes for a spatial join before Wing crashes and processes no more.&amp;nbsp; Using a Point and a Poly layer to Join.&amp;nbsp; Point layer is 774,796 records.&amp;nbsp; Poly layers vary, but are much smaller than point.&amp;nbsp; Spatial Join in a list, which makes this a tedious process in that I get to wait for the crash and then remove the layer from the list and then reprocess the list, so it kinda makes using lists not optimal.&amp;nbsp; Physical Memory drops to about 34,000 K before the crash.&amp;nbsp; It steadily goes down from the first to the sixth layer, with the sixth layer not completing successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;oh, this is running in a File GDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is NO error number generated, it just stops.&amp;nbsp; Believe it is runaway memory.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 00:58:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121371#M4207</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-07-23T00:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121372#M4208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to repro the issue. In Wing, are you using the mapping module to get the layers? Could you post a snapshot of your code? Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nobbir Ahmed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geoprocessing &amp;amp; Analysis, ESRI.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 16:06:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121372#M4208</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2010-08-04T16:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121373#M4209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sounds like the classic gp memory leak issue...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unless ESRI fixes it, only workaround is to break up the process into pieces using os.spwanv, subprocess, etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 16:25:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121373#M4209</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2010-08-04T16:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121374#M4210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@NobbirAhmed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Will do next week, but I need to coordinate the data transfer, so email me at &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:tcronin@asrclkrec.com"&gt;tcronin@asrclkrec.com&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:chris.snyder@wadnr.gov"&gt;chris.snyder@wadnr.gov&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps, I get to use more of subprocess, which I like &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 00:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121374#M4210</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2010-08-06T00:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121375#M4211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same issue.&amp;nbsp; I created a model that does a spatial join around 6 to 8 times and it crashes everytime now in 10.&amp;nbsp; The model works fine in 9.3.1 on a different computer with the same dataset.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I even tried making the dataset smaller to run through the model in 10 and it still crashes.&amp;nbsp; One thing I noticed was I tried running each of these spaital joins seperatly in 10 through tool box in arc catalog and after each spatial join the memory never gets released so after my first sptial join my memory usage for arc catalog was at 303,300k and after the second one it was at 660,450k and the thrid one it was at 943,000k, and the next spatial join crashed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 13:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121375#M4211</guid>
      <dc:creator>JamesTanis</dc:creator>
      <dc:date>2010-09-09T13:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121376#M4212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Classic gp memory leak...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that all the progress that ESRI made on this issue doesn't resurface in v10...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 15:05:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121376#M4212</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2010-09-09T15:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121377#M4213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The memory leak is fixed in 10.0 sp2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 15:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121377#M4213</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2011-04-28T15:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121378#M4214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good news, thanks for the update.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 18:54:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121378#M4214</guid>
      <dc:creator>TedCronin</dc:creator>
      <dc:date>2011-04-28T18:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121379#M4215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any fix/workaround to this issue in ArcGIS 10 &lt;/SPAN&gt;&lt;STRONG&gt;SP1&lt;/STRONG&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a model that works fine in 9.3.1 but the Spatial Join tool crashes in ArcGIS 10 Sp1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 17:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121379#M4215</guid>
      <dc:creator>SowjanyaSunkara</dc:creator>
      <dc:date>2011-07-08T17:23:41Z</dc:date>
    </item>
    <item>
      <title>My solution...</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121380#M4216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just want to add my "2 cents" to this thread. I have spent the last 2 hours trying to run a spatial join of points to points using the &lt;/SPAN&gt;&lt;STRONG&gt;closest&lt;/STRONG&gt;&lt;SPAN&gt; match option. Every time it crashed. I tried moving the data to a file geodatabase, to shapefiles, stripped down the fields to the bare minimum, removed domains, you name it I did it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then asked someone in my office if they could run it to rule out this stupid roaming profile setup we have on our network. Hey presto it worked! AHHH! Anyway the only difference I noticed was that her geoprocessing tool ran as back ground task. I had turned that off along time ago as I think it's pointless and I find the dialog helpful to watch whats going on. So I out of desperation I turned this back on and it worked.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Seriously cheesed off about this...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 15:19:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121380#M4216</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2011-11-21T15:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121381#M4217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@Hornbydd&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Duncan, thanks a lot for describing the issue elaborately. I'll try to repro it locall and submit a bug if necessary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2011 17:17:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121381#M4217</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2011-11-21T17:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121382#M4218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Last post mentioned this was fixed in 10 SP2, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running SP3 and experiencing a similar issue. A model I've created that uses Spatial Join works fine in 9.3.1 but crashes in Arc10. I isolated it down to just the Spatial Join command, and created a model that just executes spatial join and it crashes every time. I tested the background geoprocessing on/off solution with no success. Same process works fine in 10 when executed outside of ModelBuilder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The spatial join is one-to-many, closest with a set maximum search distance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice on solutions would be most appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121382#M4218</guid>
      <dc:creator>BrianBatten</dc:creator>
      <dc:date>2012-02-09T15:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121383#M4219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have now stumbled onto the same land mine after (finally) completing our migration from 9.3.1 to 10.0 SP 3.&amp;nbsp; Our situation is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a series of Python-based GP scripts that get launched from inside Informatica workflows.&amp;nbsp; The spatial join step (joining county data to point features, where the size of the point feature class ranges from a few dozen to about 10,000 features) fails and throws an o/s level exception.&amp;nbsp; When the same code is run from a Windows CMD shell, we have no problem; it only happens when executed from within the Informatica workflows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our environment is: &lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt; Windows Server 2003 with all the latest and greatest service packs, KB patches, etc.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; ArcGIS 10.0 SP 3&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; MS SQL Server 2005 plus ArcSDE&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt; Informatica 8.1.1 (which Informatica no longer supports- that's next up on the modernization list)&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;Data are being processed from a combination of file GDB (point features) and ArcSDE layers (counties)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Text of the Windows Application event log is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]&lt;/SPAN&gt;&lt;SPAN style="font-size: 2; font-family: Courier New;"&gt;Event Type: Error&lt;BR /&gt;Event Source: .NET Runtime 2.0 Error Reporting&lt;BR /&gt;Event Category: None&lt;BR /&gt;Event ID: 1000&lt;BR /&gt;Date:&amp;nbsp; 2/25/2012&lt;BR /&gt;Time:&amp;nbsp; 1:27:48 PM&lt;BR /&gt;User:&amp;nbsp; N/A&lt;BR /&gt;Computer: XXXXXXX&lt;BR /&gt;Description:&lt;BR /&gt;Faulting application python.exe, version 0.0.0.0, stamp 4ba3e443, faulting module atio2kad.dll, version 4.0.0.1119, stamp 3bcc6880, debug? 0, fault address 0x000d0d49.&lt;BR /&gt;&lt;BR /&gt;For more information, see Help and Support Center at &lt;A href="http://go.microsoft.com/fwlink/events.asp"&gt;http://go.microsoft.com/fwlink/events.asp&lt;/A&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help / insights you have that fixes this problem.&amp;nbsp; Our data managers will greatly appreciate not having to start their work day at 2 a.m. every day!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Last post mentioned this was fixed in 10 SP2, &lt;BR /&gt;I'm running SP3 and experiencing a similar issue. A model I've created that uses Spatial Join works fine in 9.3.1 but crashes in Arc10. I isolated it down to just the Spatial Join command, and created a model that just executes spatial join and it crashes every time. I tested the background geoprocessing on/off solution with no success. Same process works fine in 10 when executed outside of ModelBuilder. &lt;BR /&gt;&lt;BR /&gt;The spatial join is one-to-many, closest with a set maximum search distance. &lt;BR /&gt;&lt;BR /&gt;Any advice on solutions would be most appreciated.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 13:46:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121383#M4219</guid>
      <dc:creator>KeithAdams</dc:creator>
      <dc:date>2012-02-28T13:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121384#M4220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Last post mentioned this was fixed in 10 SP2, &lt;BR /&gt;.......&lt;BR /&gt;The spatial join is one-to-many, closest with a set maximum search distance. &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just tried your scenario (spatial join in MB) on 10 sp3 - does not crash on my machine. I can further investigate if you can provide the data + model.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 20:48:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121384#M4220</guid>
      <dc:creator>NobbirAhmed</dc:creator>
      <dc:date>2012-02-28T20:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121385#M4221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Last post mentioned this was fixed in 10 SP2, &lt;BR /&gt;I'm running SP3 and experiencing a similar issue. A model I've created that uses Spatial Join works fine in 9.3.1 but crashes in Arc10. I isolated it down to just the Spatial Join command, and created a model that just executes spatial join and it crashes every time. I tested the background geoprocessing on/off solution with no success. Same process works fine in 10 when executed outside of ModelBuilder. &lt;BR /&gt;&lt;BR /&gt;The spatial join is one-to-many, closest with a set maximum search distance. &lt;BR /&gt;&lt;BR /&gt;Any advice on solutions would be most appreciated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having the same problem with spatial join in a python script. Setting the match_option parameter to "CLOSEST" is the only thing that crashes the script. I absolutely need that parameter as "CLOSEST" and am not crazy about having to write the code to loop through the geometries to accomplish that without the Spatial Join tool. Has ANYONE found a cause/solution to this, or is it another overseen esri bug that allows tools to be used as stand-alone from the desktop applications only????&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Mar 2012 19:35:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121385#M4221</guid>
      <dc:creator>AaronBarkhurst</dc:creator>
      <dc:date>2012-03-03T19:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121386#M4222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am getting a problem with the spatial join using Arc10.0, SP4 using ArcSDE 9.2 SP6 feature classes using ~150,000 points overlaid with a polygon file of ~18 polygons, both SDE feature classes.&amp;nbsp; All of the records appear, but all but the first row of attributes are "null".&amp;nbsp; In the first row all of the input fields are populated, but the spatial join field(s) are null, too.&amp;nbsp; Output is SDE feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running from OS is Windows 7 Pro, 32-bit, SP-1 accessing an Oracle 10g relational database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I selected about 20000 records interactively in ArcMap of the point feature class, then ran the spatial join and the data was populated as expected for the selected records.&amp;nbsp; The output was only of the selected point features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Was running fine on Arc10 SP2 with the full data set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ran successfully with the full data set on Arc 9.3.1 using the same ArcSDE 9.2 SP6 data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ran successfully with full data set in Arc10 SP 3 using the same ArcSDE 9.2 SP6 data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ran approximately 12000 out of the 150,000 of the records were processed.&amp;nbsp; It appears the process broke when the spatial join encountered a null value in the polygon layer for the shapefile data.&amp;nbsp; This was not the case for SDE feature classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a Python script that performs a number of Spatial Joins that I perform the Spatial Joins as well as other routines using SDE data.&amp;nbsp; Scripts and ArcGIS Toolbox routines run successfully to completion, but produce "null" output as described above.&amp;nbsp; We have typically run these scripts over the last 4 years on a monthly basis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "Name" field is the only field that is added as part of the Spatial Join operation, in this case.&amp;nbsp; See the attached document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would need to FTP or send data via a different method to provide data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 18:57:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121386#M4222</guid>
      <dc:creator>NathanJennings</dc:creator>
      <dc:date>2012-03-12T18:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121387#M4223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem Nate is experiencing was logged as NIM079126:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDc5MTI2"&gt;http://support.esri.com/en/bugs/nimbus/TklNMDc5MTI2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it looks like maybe it was listed as "declined" and that maybe ESRI was not able to reproduce it.&amp;nbsp; This particular bug only seems to affect the �??Spatial Join�?� geoprocessing task (used by ArcToolbox, ModelBuilder, and Python), but not the �??Join data from another layer based on spatial location�?� option of the join data dialog available from clicking a layer in the table of contents (TOC)-&amp;gt;joins &amp;amp; relates-&amp;gt;join�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I believe that you will only experience the bug with the geoprocessing task, if any of the �??target features�?� do not have a spatial relationship to any �??join features�?�.&amp;nbsp; For example, if you are trying a point-in-poly intersect, any points that are not within a polygon could throw off the results of the entire operation.&amp;nbsp; You can avoid this by unchecking �??Keep All Target Features�?� in the tool dialog or by using the KEEP_COMMON join_type option in your code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone else is running into this same problem after installing SP4, please contact ESRI Support to ensure that they are working to get this fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2012 20:51:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121387#M4223</guid>
      <dc:creator>DanMcCoy</dc:creator>
      <dc:date>2012-03-30T20:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121388#M4224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same here. Model Builder process crashes when it hits the "Spatial Join" task. Problem appears to be with the "closest" option.&amp;nbsp; I need to use this option because of the licensing level on our server. Anyone have a work around? I'd like to use "Near" or one of the simplier processing tools, but no dice. Using ArcGIS 10.0 SP4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try the bug route with ESRI.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 02:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121388#M4224</guid>
      <dc:creator>PamTurner</dc:creator>
      <dc:date>2012-04-02T02:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121389#M4225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using ArcGIS 10 sp4, performing a polygon/points one-to-one spatial join, I am experiencing the same issue described where only the first record has any of the field mappings applied property.&amp;nbsp; All remaining records are null on the joined fields (although the "Join_Count" field is correctly populated for all rows).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am seeing the same behaviour whether I run the tool manually in ArcMap or as code in a stand-alone Python script.&amp;nbsp; Also, storage format (SDE, File GDB, shapefile) doesn't seem to matter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw the bug report mentioned above, and status of "Declined" sounds like it's not going to be fixed, so I'll submit a bug report as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, unchecking the "Keep All Target Features" option was successful as a work-around for me in all cases I tried, so thanks to Dan for that suggestion!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 20:07:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121389#M4225</guid>
      <dc:creator>RussCoffey</dc:creator>
      <dc:date>2012-04-04T20:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join CRASHING at 10</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121390#M4226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The problem Nate is experiencing was logged as NIM079126:&lt;BR /&gt;&lt;A href="http://support.esri.com/en/bugs/nimbus/TklNMDc5MTI2"&gt;http://support.esri.com/en/bugs/nimbus/TklNMDc5MTI2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, it looks like maybe it was listed as "declined" and that maybe ESRI was not able to reproduce it.... &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI - ESRI has resurrected this bug and will be soon releasing a patch...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bug:&amp;nbsp; The Spatial Join tool produces NULL results for some fields/features on ArcGIS 10 SP4&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/40174"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/40174&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 15:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/spatial-join-crashing-at-10/m-p/121390#M4226</guid>
      <dc:creator>DanMcCoy</dc:creator>
      <dc:date>2012-04-23T15:24:27Z</dc:date>
    </item>
  </channel>
</rss>

