<?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 Re: Identify Out of Memory IE9 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-out-of-memory-ie9/m-p/658186#M61398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try setting the maxAllowableOffset parameter on the query, to reduce the size of the returned geometry:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var query = new esri.tasks.Query();
query.returnGeometry = true;
query.maxAllowableOffset = 1000;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a sample at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_generalize.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_generalize.html&lt;/A&gt;&lt;SPAN&gt; which explains how to do this for a feature layer - it's the same principle for the query, so you could set the offset as a factor of the current extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should improve the performance in any browser, incidentally.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 03:51:20 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2021-12-12T03:51:20Z</dc:date>
    <item>
      <title>Identify Out of Memory IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-out-of-memory-ie9/m-p/658185#M61397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just upgraded to IE9 and using JavaScript API 2.3. I'm doing a simple point identify on a polygon with lots of vertices with the 'returnGeometry' option set to true. IE9 falls over with an 'Error: Out of Memory' exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's definitely the 'returnGeometry' option that is causing this as it works when it's set to false, but it doesn't happen in IE8, IE7 or Firefox when 'returnGeometry' is set to true. Any ideas if there's a setting in IE9 or IIS that I need to tweak to take care of the memory issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 08:51:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-out-of-memory-ie9/m-p/658185#M61397</guid>
      <dc:creator>AndrewCorcoran</dc:creator>
      <dc:date>2011-06-17T08:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Out of Memory IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-out-of-memory-ie9/m-p/658186#M61398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try setting the maxAllowableOffset parameter on the query, to reduce the size of the returned geometry:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var query = new esri.tasks.Query();
query.returnGeometry = true;
query.maxAllowableOffset = 1000;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a sample at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_generalize.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_generalize.html&lt;/A&gt;&lt;SPAN&gt; which explains how to do this for a feature layer - it's the same principle for the query, so you could set the offset as a factor of the current extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should improve the performance in any browser, incidentally.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:51:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-out-of-memory-ie9/m-p/658186#M61398</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2021-12-12T03:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Out of Memory IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-out-of-memory-ie9/m-p/658187#M61399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked! Thanks very much. Hadn't ever used this option before but it's probably good practice to. Strange that identify/query works without the option in IE7 and IE8 though. Good old IE :rolleyes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 07:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identify-out-of-memory-ie9/m-p/658187#M61399</guid>
      <dc:creator>AndrewCorcoran</dc:creator>
      <dc:date>2011-06-20T07:00:14Z</dc:date>
    </item>
  </channel>
</rss>

