The Mask environment setting produces a unique temporary raster file for each iteration when polygons are used as mask features if the mask is set in 'for loop' in a Python script. This may result in a script failure due to too many open files.
Last Published: August 7, 2015ArcGIS for Desktop
Bug ID Number
February 3, 2015
November 24, 2020
ArcGIS for Desktop
Operating System Version
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Use the Polygon to Raster tool to convert the polygon features to rasters and use the rasters as inputs in the Mask environment setting.