Error Message
Attempts to query an image service layer or download data from an image service fail and return the following error message in the ArcGIS Server Manager logs:
Error:
The requested image exceeds the size limit.
Cause
The error is caused by the image size limit in the mosaic dataset and image service request properties. The maximum image size per request is limited to the number of columns and rows configured in the 'Maximum Size of Requests' setting of the mosaic dataset in ArcGIS Desktop, and the 'Maximum image size per request' setting of the image service properties in ArcGIS Server Manager. The size of the requested image is larger than the current size configured within these settings, prompting the error message.
Solution or Workaround
To circumvent this issue, complete the steps listed below:
- Stop the image service. Refer to ArcGIS Server: Stop a service in Manager for steps to do this.
- Increase the size limit of the image in the Maximum Size of Requests (Rows and Columns) setting of the mosaic dataset. This option can be accessed and modified using ArcMap, ArcCatalog or ArcGIS Pro.
Note:
To determine the size limit for the image, refer to the following formulae:
ymin + 4100 * Pixel Size = ymax
xmin + 15000 * Pixel Size = xmax
ArcMap
- In the Catalog window, right-click the mosaic dataset and select Properties.
- In the Mosaic Dataset Properties window, click on the Defaults tab.
- In the Image Properties settings, under Maximum Size of Requests, set a new value for the Rows and Columns properties, respectively.
- Click OK.
ArcCatalog
- In the Catalog Tree pane, navigate to the location of the mosaic dataset.
- Right-click the mosaic dataset and select Properties.
- In the Mosaic Dataset Properties window, click on the Defaults tab.
- In the Image Properties settings, under Maximum Size of Requests, set a new value for the Rows and Columns properties, respectively.
- Click OK.
ArcGIS Pro
- In the Catalog window, right-click the mosaic dataset and select Properties.
- In the Mosaic Dataset Properties: <mosaic_dataset_name> window, in the left pane, click Defaults.
- Under Image Properties, set a new value for the Maximum Size of Requests - Rows and Maximum Size of Requests - Columns properties, respectively.
- Click OK.
- Increase the size limit of the requested image in the Maximum image size per request setting of the image service properties in ArcGIS Server Manager.
- Log in to ArcGIS Server Manager.
- Navigate to Services if necessary. On the side menu, select the (Root) or folder name, and locate the published Image Service. Select the image service.
- Click Parameters in the left pane. Under Image, specify the value of Maximum image size per request(rows x columns) according to the value set in the mosaic dataset properties in the previous step.
- Click Save and Restart.
- Start the image service. Refer to ArcGIS Server: Start a service in Manager for steps to do this.