<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic slow response on large spatial queries in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/slow-response-on-large-spatial-queries/m-p/634341#M14099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Purpose:&amp;nbsp; i'm trying to perform a spatial query (user defined polygon) on a large area on the map; have the results return in my datagrid and also highlight the records on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using arcgis10.1 and the latest flex api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have built a geoprocessing service to process the query and return the results.&amp;nbsp; The service is set to asyncronous with a limit of 50,000 records.&amp;nbsp; The model works perfectly and fairly quickly, and the results are returned in the "arcgisserver/directories/arcgisjobs/myfolder/geo_process folder.&amp;nbsp; I can view the results in arc map and can monitor when the results are created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The flex page is working because if i limit the size of the area, i will get the results returned back to the flex page.&amp;nbsp; As i increase the spatial area the returned results take longer and longer (for obvious reasons); eventually it reaches a point where nothing is returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The limit to the amount of records returned, seems to be around 400 or 500 records.&amp;nbsp; This seems to be a small limited amount for a geoprocessing service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to me, that the results being returned are somehow being limited......a server setting??&amp;nbsp; flex setting??&amp;nbsp; map service setting??&amp;nbsp; Any thoughts out there???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried setting the geoprocess service as "show map results", limit record numbers, etc....&amp;nbsp; Also, the network being used is internal and I have over a 100mb/sec intranet speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eddie Q.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jun 2014 20:11:21 GMT</pubDate>
    <dc:creator>eddiequinlan</dc:creator>
    <dc:date>2014-06-12T20:11:21Z</dc:date>
    <item>
      <title>slow response on large spatial queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/slow-response-on-large-spatial-queries/m-p/634341#M14099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Purpose:&amp;nbsp; i'm trying to perform a spatial query (user defined polygon) on a large area on the map; have the results return in my datagrid and also highlight the records on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using arcgis10.1 and the latest flex api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have built a geoprocessing service to process the query and return the results.&amp;nbsp; The service is set to asyncronous with a limit of 50,000 records.&amp;nbsp; The model works perfectly and fairly quickly, and the results are returned in the "arcgisserver/directories/arcgisjobs/myfolder/geo_process folder.&amp;nbsp; I can view the results in arc map and can monitor when the results are created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The flex page is working because if i limit the size of the area, i will get the results returned back to the flex page.&amp;nbsp; As i increase the spatial area the returned results take longer and longer (for obvious reasons); eventually it reaches a point where nothing is returned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The limit to the amount of records returned, seems to be around 400 or 500 records.&amp;nbsp; This seems to be a small limited amount for a geoprocessing service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to me, that the results being returned are somehow being limited......a server setting??&amp;nbsp; flex setting??&amp;nbsp; map service setting??&amp;nbsp; Any thoughts out there???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried setting the geoprocess service as "show map results", limit record numbers, etc....&amp;nbsp; Also, the network being used is internal and I have over a 100mb/sec intranet speed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eddie Q.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 20:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/slow-response-on-large-spatial-queries/m-p/634341#M14099</guid>
      <dc:creator>eddiequinlan</dc:creator>
      <dc:date>2014-06-12T20:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: slow response on large spatial queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/slow-response-on-large-spatial-queries/m-p/634342#M14100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Eddie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a setting on your geoprocessing service in the parameters that sets the maximum features to return:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Parameters/005700000080000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Parameters/005700000080000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you changed that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 21:29:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/slow-response-on-large-spatial-queries/m-p/634342#M14100</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2014-06-12T21:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: slow response on large spatial queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/slow-response-on-large-spatial-queries/m-p/634343#M14101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anthony,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the input.&amp;nbsp; Yes, I've already adjusted this setting a few times.&amp;nbsp; Currently it's set at 50,000, and the queries I'm performing will be far less than this number.&amp;nbsp; During testing, the most records which should be returned are about 15,000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanx,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eddie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 12:15:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/slow-response-on-large-spatial-queries/m-p/634343#M14101</guid>
      <dc:creator>eddiequinlan</dc:creator>
      <dc:date>2014-06-13T12:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: slow response on large spatial queries</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/slow-response-on-large-spatial-queries/m-p/634344#M14102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It took some effort to find the solution in some buried ESRI documentation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Within your arcgis server setup there are two default settings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.&amp;nbsp; App server maximum heap size = 256mb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; SOC maximum heap size = 64mb&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I change these from 256 to 1024, and 64 to 512.&amp;nbsp; I can now do spatial queries with large datasets and have the info returned.&amp;nbsp; What i'm not sure about is how the changes will affect the server in terms of memory or resources.&amp;nbsp; If anyone can enlighten me further on this I would appreciate it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanx,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eddie Q.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Okaloosa County&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Property Appraiser&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Coordinator&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 14:09:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/slow-response-on-large-spatial-queries/m-p/634344#M14102</guid>
      <dc:creator>eddiequinlan</dc:creator>
      <dc:date>2014-07-01T14:09:11Z</dc:date>
    </item>
  </channel>
</rss>

