<?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: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153544#M76648</link>
    <description>&lt;P&gt;Another thing that you can also try is disabling PBF mode:&amp;nbsp;&lt;A href="https://codepen.io/matt9222/pen/PoEwXoO?editors=1010" target="_blank"&gt;Disable PBF (codepen.io)&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Mar 2022 20:49:17 GMT</pubDate>
    <dc:creator>mgeorge</dc:creator>
    <dc:date>2022-03-14T20:49:17Z</dc:date>
    <item>
      <title>Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153444#M76640</link>
      <description>&lt;P&gt;I recently updated an internal application from JSAPI 4.16 to 4.22 to evaluate the memory and performance improvements in the Feature Layers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the update, the application first off over 2,000 requests to the various Feature Layers, which results in a load time of over 3 minutes. The volume of services requests results in several hundred returning `ERR_INSUFFICIENT_RESOURCES` from the ArcGIS Server, too.&lt;/P&gt;&lt;P&gt;Our application loads a Webmap by ID from ArcGIS Online and creates about 20 stand-alone FeatureLayer objects that are used for querying that are &lt;STRONG&gt;not&lt;/STRONG&gt; added to the map during start up.&lt;/P&gt;&lt;P&gt;It appears that many of the requests are for the gridded query strategy (different, sequential bounding boxes) of the Feature Layers, which I can understand, but didn't expect the volume of queries or such different startup behavior from 4.16.&lt;/P&gt;&lt;P&gt;Looking for advice on what approach I can take to isolate and control the amount of queries made by the FeatureLayer class and if there are any specific behaviors of the FeatureLayer that we should be aware of in the jump from 4.16 to 4.22 that might be exacerbating this issue.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;I have reviewed the &lt;A href="https://developers.arcgis.com/javascript/latest/breaking-changes/" target="_self"&gt;Breaking Changes&lt;/A&gt; information and the Release Notes in general, but did not pick up any anything specific from those sources.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 14:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153444#M76640</guid>
      <dc:creator>LucasScharenbroich</dc:creator>
      <dc:date>2022-03-15T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153461#M76641</link>
      <description>&lt;P&gt;Do you have an app you can share so we can debug? It may also be worth reaching out to Esri support. They can set up a reproducible case so you don't share your data (if it's private) and submit a bug report to us so we can properly debug.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 18:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153461#M76641</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2022-03-14T18:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153535#M76645</link>
      <description>&lt;P&gt;Yes like&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/44467"&gt;@KristianEkenes&lt;/a&gt;&amp;nbsp;mentioned, if you can provide us a repro, we can take a look. I'm not aware of why it would be making more requests, all of the layers are AGOL hosted?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 20:41:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153535#M76645</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2022-03-14T20:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153537#M76646</link>
      <description>&lt;P&gt;The layers are on an ArcGIS Server, not hosted.&amp;nbsp; I'll try to create a reduced test case of the application that triggers the behavior.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 20:43:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153537#M76646</guid>
      <dc:creator>LucasScharenbroich</dc:creator>
      <dc:date>2022-03-14T20:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153542#M76647</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9830"&gt;@LucasScharenbroich&lt;/a&gt;&amp;nbsp;do you know what version of server?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 20:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153542#M76647</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2022-03-14T20:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153544#M76648</link>
      <description>&lt;P&gt;Another thing that you can also try is disabling PBF mode:&amp;nbsp;&lt;A href="https://codepen.io/matt9222/pen/PoEwXoO?editors=1010" target="_blank"&gt;Disable PBF (codepen.io)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 20:49:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153544#M76648</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2022-03-14T20:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153559#M76650</link>
      <description>&lt;P&gt;10.6&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 21:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153559#M76650</guid>
      <dc:creator>LucasScharenbroich</dc:creator>
      <dc:date>2022-03-14T21:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153582#M76653</link>
      <description>&lt;P&gt;I can check whether or not this is the case if I can see what's going on, but upgrading your server to something more recent might also help here. I know there were some PBF issues for earlier version of server... that's the only major difference in terms of querying for server that I can think of ATM.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 22:11:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153582#M76653</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2022-03-14T22:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153812#M76660</link>
      <description>&lt;P&gt;The app is built using ESM/Typescript and bundled with webpack.&amp;nbsp; My understanding is that the dojo loader is not used in this case and setting the `dojoConfig` global as shown in that codepen example did not seem to have any effect.&lt;BR /&gt;&lt;BR /&gt;Is there an alternate way of setting that flag using ESM/TS?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 14:44:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1153812#M76660</guid>
      <dc:creator>LucasScharenbroich</dc:creator>
      <dc:date>2022-03-15T14:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1154002#M76664</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/9830"&gt;@LucasScharenbroich&lt;/a&gt;&amp;nbsp;for the flag, just use esriConfig instead of dojoConfig.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 19:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1154002#M76664</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2022-03-15T19:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1154534#M76679</link>
      <description>&lt;P&gt;No effect. I'll work on bisecting the JSAPI versions.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 21:29:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1154534#M76679</guid>
      <dc:creator>LucasScharenbroich</dc:creator>
      <dc:date>2022-03-16T21:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1160040#M76888</link>
      <description>&lt;P&gt;I am having a similar problem -- stuck on the 4.20 to 4.21 upgrade.&amp;nbsp; The app basically goes into a catastrophic failure, I get flooded with&amp;nbsp;net::ERR_INSUFFICIENT_RESOURCES errors.&lt;/P&gt;&lt;P&gt;I've tried the suggestions in this thread, as well as tried upgrading to 4.22/4.23, and it hasn't helped.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 19:48:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1160040#M76888</guid>
      <dc:creator>MattReames2</dc:creator>
      <dc:date>2022-03-31T19:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1160048#M76891</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/389853"&gt;@MattReames2&lt;/a&gt;,&amp;nbsp;do you have a codepen or a repro that we can use to take a look? If not you can work with support and they can help to create something for us to take a look at.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 20:03:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1160048#M76891</guid>
      <dc:creator>mgeorge</dc:creator>
      <dc:date>2022-03-31T20:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1160049#M76892</link>
      <description>&lt;P&gt;i'm getting it together now, and writing up a support ticket.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 20:05:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1160049#M76892</guid>
      <dc:creator>MattReames2</dc:creator>
      <dc:date>2022-03-31T20:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrade from 4.16 to 4.22; 2000+ FeatureLayer requests on startup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1536245#M85630</link>
      <description>&lt;P&gt;Any solution for that?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2024 19:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/upgrade-from-4-16-to-4-22-2000-featurelayer/m-p/1536245#M85630</guid>
      <dc:creator>evemarwernick</dc:creator>
      <dc:date>2024-09-08T19:39:59Z</dc:date>
    </item>
  </channel>
</rss>

