laptop and a wrench


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, 2015 ArcGIS for Desktop
Bug ID Number BUG-000082524
SubmittedFebruary 3, 2015
Last ModifiedNovember 24, 2020
Applies toArcGIS for Desktop
Version found10.2.2
Operating SystemWindows
Operating System Version7
Version Fixed1.1


Use the Polygon to Raster tool to convert the polygon features to rasters and use the rasters as inputs in the Mask environment setting.

Steps to Reproduce

Bug ID: BUG-000082524


  • ArcGIS for Desktop

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic