title: Arcpy script was fast now slow?
body: <p>Question pretty much sums it up. I had the following script running in PyCharm earlier today:</p>
  
  <pre><code>rasterfolder = "F:/1_Raster_Processing/Classified/"
  vectorfolder = "H:/Output/SplitShapes/"
  tablefolder = "H:/Output/Split_Tables_3/"
  
  
  import arcview
  import arcpy
  from arcpy.sa import *
  arcpy.CheckOutExtension("spatial")
  
  
  arcpy.env.workspace = vectorfolder
  flist = arcpy.ListFeatureClasses()
  for f in flist:
      TabulateArea(f,"FID",rasterfolder + "KNN100_" + f[:-6] + ".tif","Value",tablefolder + f[:-4] + ".dbf",0.25)
  </code></pre>
  
  <p>It was taking ~4 minutes a featureclass and there are a couple hundred to run through. At some point in the middle of the day, the process hung and wasn't generating any more output, so I killed it and started over (thinking this was a pyCharm issue). When I started over, it was suddenly taking ~1hr+ per feature class to do the exact same process. I've tried the same process in WingIDE and I'm still having the issue. I've restarted everything and am running nothing but this one process on this machine. Thoughts? Do I need to sacrifice a barnyard animal here? Pay for winRar? </p>
  
  <p>Has any one else had an issue where they run a script; it runs fine the first few times, but then suddenly, and for no apparent reason, it takes a massive slowdown?</p>