I have successfully published a Feature Service from a feature class containing several thousand records. I know that the feature class in the database that the service is published from, is approximately 60MB.
When I am attempting to extract the entirety of the Feature Service either from ArcMap (via right click > export to feature class) or from the Analysis tools in Map Viewer, I am presented with the following errors after approximately 60 seconds:
No output is generated.
Investigating the ArcGIS Server Manager logs reveals the following:
Level | Message | Source |
---|
SEVERE | Error performing query operation Error handling service request :java.lang.OutofMemoryError: Java heap space | Rest |
SEVERE | Instance of service 'Folder/NameOfService.MapServer' failed to process a request | Folder/NameOfService.MapServer |
I suspected the issue could be related to the heap size of the SOCs noting that ~60MB might have been a heavy load to request from my server. A bit more investigation led me to this Technical Support article which suggests bumping the maximum SOC heap size from the default 64MB. However, even after bumping up the maximum SOC heap size, the same timeout issues persist.
I am able to extract a smaller selection of features from the Feature Service, just not the entirety. What might be causing this problem I am experiencing?