<?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: GeometryEngine max records/running out of memory in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111807#M10416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a warning, but it shouldn't stop anything from working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens if you add a .then, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;geometryEngineAsync&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;geodesicBuffer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;geometry2&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;distance&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; distanceUnits&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;then&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;results&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;results&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the geometry engine async methods return a promise, so the results need to be obtained by chaining a .then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:41:54 GMT</pubDate>
    <dc:creator>ThomasSolow</dc:creator>
    <dc:date>2021-12-11T06:41:54Z</dc:date>
    <item>
      <title>GeometryEngine max records/running out of memory</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111804#M10413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use the Geometry Engine module to buffer a route and return all of the parcels that are within 300 feet of it. &amp;nbsp;I am using the geodesic buffer method and I get results every time, however, it is unreliable. &amp;nbsp;Sometimes I get 500, sometimes 1300, sometimes anywhere in between. &amp;nbsp;It is a large operation (dataset contains about 50,000 parcels). &amp;nbsp;The max record count on the parcel service has been increased from 1,000 to 5,000 to compensate, but it does not seem to be helping. &amp;nbsp;Is there any other client side method that would be more reliable? &amp;nbsp;I've attempted to use the asynchronous geometryEngine module but I'm having load errors because of what seems to be jquery? &amp;nbsp;End goal is I am trying to create a widget in my application that mimics some of the "select by location" features you would get from ArcMap, with intersects, buffer, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 19:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111804#M10413</guid>
      <dc:creator>LindaDunklee</dc:creator>
      <dc:date>2017-06-12T19:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine max records/running out of memory</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111805#M10414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For any large operation like this I would recommend the geometry engine async. &amp;nbsp;That version of the geometry engine runs in another CPU core&amp;nbsp;via a web worker, so it won't lock up the main thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like you've tried that but run into some issues. &amp;nbsp;Can you post an abbreviated sample? &amp;nbsp;I wouldn't think jQuery would&amp;nbsp;cause problems here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not aware of any upper limits, but 50,000 parcels does seem like a lot. &amp;nbsp;I would look for ways to make that number smaller, but I don't know what you're going for exactly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 20:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111805#M10414</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-06-12T20:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine max records/running out of memory</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111806#M10415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error I get when I try the async method is "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to be some sort of load error...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;geometryEngineAsync.geodesicBuffer(geometry2, [distance], distanceUnits, true);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2017 20:37:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111806#M10415</guid>
      <dc:creator>LindaDunklee</dc:creator>
      <dc:date>2017-06-12T20:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine max records/running out of memory</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111807#M10416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a warning, but it shouldn't stop anything from working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens if you add a .then, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;geometryEngineAsync&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;geodesicBuffer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;geometry2&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;distance&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; distanceUnits&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;then&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;results&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;results&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the geometry engine async methods return a promise, so the results need to be obtained by chaining a .then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111807#M10416</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2021-12-11T06:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryEngine max records/running out of memory</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111808#M10417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was my problem - it was running and I wasn't doing anything with the results. &amp;nbsp;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 12:25:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryengine-max-records-running-out-of-memory/m-p/111808#M10417</guid>
      <dc:creator>LindaDunklee</dc:creator>
      <dc:date>2017-06-13T12:25:27Z</dc:date>
    </item>
  </channel>
</rss>

