laptop and a wrench

Bug

Querying a layer at Rest endpoint fails with "Error performing query operation" when the 'Maximum Number of Records Returned by Server' exceeds more than 100,000.

Last Published: August 25, 2014 ArcGIS for Server
Bug ID Number NIM088275
SubmittedJanuary 22, 2013
Last ModifiedApril 2, 2025
Applies toArcGIS for Server
Version found10.1
Operating SystemWindows OS
Operating System Version2008 R2 64 Bit
StatusKnown Limit

Additional Information

Please review workaround section to see how to optimize query of very large datasets.

Workaround

1. Server supports query to return objectIds only which should be used for paging through the query instead of requesting for all records at once.2. Query for records without geometry.3. Increase the Appserver and ArcSOC heap size using ArcGIS Server Admin Site Directory if it is critical to query such large amount of data in a single request. But this will increase the overall memory usage on the server.

Steps to Reproduce

Bug ID: NIM088275

Software:

  • ArcGIS for Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options