Error Message
Querying a layer from a Map Service that returns an extremely large response fails and returns the following error message:
"Error performing query operation."
Cause
The result set from the query is larger than 64 MB.
Solution or Workaround
The heap size controls the maximum file size that can be sent to and from the GIS server. By default, the application server is set to 256 MB and the SOC maximum is set to 64 MB. If there are services that users query with result sets in excess of 64MB, the maximum SOC heap size must be increased.
- In a web browser, navigate to:
http://<Your Server Name>:6080/arcgis/admin
- Log in to the ArcGIS Server Administrator Directory with an administrators account.
- Click machines.
- Click the link <Your Server Name>.<domain>.com. For example, a link may appear as server1.esri.com.
- On the Server Machine Properties page, click the edit link.
- Increase the value of SOC maximum heap size (in MB).
- Click the Save Edits button to finish editing.
- Perform these steps on all GIS servers that participate in the cluster.