I have been attempting to append 10,000 tables using the following arcpy code (from an answer to Appending 10,000 tables using ArcPy?):
WD = "C:/" arcpy.env.workspace = WD for table in arcpy.ListTables(): if not table.startswith('test_4'): tableData = list(arcpy.da.SearchCursor(table, "*")) cursor = arcpy.da.InsertCursor("test_4", "*") for data in tableData: cursor.insertRow(data)
This code works perfectly for 5 or 500 tables. When I try to append 10,000 tables, the program runs for 5 minutes and then stops running. It does not give an error message, however. The program seems to still be running, although it is in fact not.
What could be causing this?