在rest服务页面执行查询query报错Error performing query operation

对MapService执行query操作,如果数据源数据量很大,查询返回所有数据的时候,结果报错Error performing query operation。
在ArcGIS Server Manager中查询日志发现报错java.lang.outofmemoeryerror.javaheapsize。
已邀请:

勾戈雪黎

赞同来自:

【解决办法】:
heap size控制了ArcGIS Server输入输出文件的大小。默认的值是64MB。如果查询返回结果大小超过64MB,那么就会报错。需要调大heap size的值来解决该问题。执行步骤如下:

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.

参考解决方案http://support.esri.com/techni ... 11736

要回复问题请先登录注册