Hello,I´m also having the same problem (ERROR 999999: Error executing function. Invalid Topology [Topoengine error.] Failed to execute (Intersect)) while trying to intersect a 5,000,000-point feature with a 2,000,000-polygon feature. Based on the discussion above I guess the only way is to break the datasets into smaller parts? I am a new user of ArcGIS and I am not very familiar with the software.I´m using ArcGIS 10.1 on Windows 7, 64 Bit, 16 Gb RAM. Both files are in a Geodatabase.
I tried some runs after importing gc and enabling it, but I have the same problems. What still confuses me is that I thought gc was automatically enabled anyway. What does enabling gc do then? It seems redundant, unless I do not fully understand the intricacies of gc.
R:\>C:\Python26\ArcGIS10.0\python.exe Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import gc >>> gc.isenabled() True
I have done some tests and am convinced it's a memory issue. Would you be able to go into a little more depth into how one would use the gc module in an arcpy workflow?
My theory is that the local RAM is spent, and if so there seems to be no good way to refresh the RAM mid-process. Anyone else experience something like this?
import gc gc.enable()
Darren, Mathew,thanks a lot for your answers. Unfortunately neither converting it to a shapefile nor a larger XY tolerance worked. I guess it´s just too much for ArcGIS to handle.I think the only solution is to split my dataset up in smaller chunks, do the geoprocessing and put those back together afterwards.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.