Greetings,
I was taking already existing Shapefiles and splitting them into smaller Shapefiles using ShapeFileFeatureLayer.CloneShapeFileStructure(string, string, OverwriteMode), then adding each shape to its new shapefile. I found that in the process of doing this, one or more temporary files are created using Path.GetTempPath(), however these files are never deleted, so after this function has been called 65535 times (the limit to the number of temporary paths one can create), the application will crash until some temporary files have been deleted.