<?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: High memory consumption when creating the layer in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1538189#M6237</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Please verify the RAM usage, especially with the indicated above VT service.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2024 11:29:01 GMT</pubDate>
    <dc:creator>MariuszNowicki1</dc:creator>
    <dc:date>2024-09-13T11:29:01Z</dc:date>
    <item>
      <title>High memory consumption when creating the layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1519097#M6223</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When creating the FeatureLayer, esri runtime begins to consume a very large amount of memory, up to over 7GB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;com.esri.arcgisruntime:arcgis-android:100.15.5&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Sample code&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;String url = "https://mapymalopolski.pl/res/ims-mz/maps/publ6946/FeatureServer/0";&lt;BR /&gt;ServiceFeatureTable serviceFeatureTable = new ServiceFeatureTable(url);&lt;BR /&gt;FeatureLayer featureLayer = new FeatureLayer(serviceFeatureTable);&lt;BR /&gt;&lt;BR /&gt;String renderer = "{\"symbol\":{\"symbol\":{\"symbolLayers\":[{\"capStyle\":\"Round\",\"color\":[0,185,241,255],\"colorLocked\":false,\"effects\":[{\"method\":\"Rounded\",\"offset\":0,\"option\":\"Fast\",\"type\":\"CIMGeometricEffectOffset\"}],\"enable\":true,\"joinStyle\":\"Round\",\"lineStyle3D\":\"Strip\",\"miterLimit\":10,\"type\":\"CIMSolidStroke\",\"width\":1.5},{\"colorLocked\":false,\"enable\":true,\"lineSymbol\":{\"symbolLayers\":[{\"capStyle\":\"Round\",\"color\":[0,185,241,128],\"colorLocked\":false,\"effects\":[{\"method\":\"Rounded\",\"offset\":0,\"option\":\"Fast\",\"type\":\"CIMGeometricEffectOffset\"}],\"enable\":true,\"joinStyle\":\"Round\",\"lineStyle3D\":\"Strip\",\"miterLimit\":10,\"type\":\"CIMSolidStroke\",\"width\":1.5}],\"type\":\"CIMLineSymbol\"},\"offsetX\":0,\"offsetY\":0,\"rotation\":45,\"separation\":5,\"type\":\"CIMHatchFill\"}],\"type\":\"CIMPolygonSymbol\"},\"type\":\"CIMSymbolReference\"},\"type\":\"simple\"}";&lt;BR /&gt;featureLayer.setRenderer(Renderer.fromJson(renderer));&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 09:08:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1519097#M6223</guid>
      <dc:creator>RafałKaczmarczyk</dc:creator>
      <dc:date>2024-08-13T09:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: High memory consumption when creating the layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1519129#M6224</link>
      <description>&lt;P&gt;I forgot to add that esri throws oom errors:&lt;BR /&gt;&lt;BR /&gt;Throwing OutOfMemoryError "Failed to allocate a 268435468 byte allocation with 100663296 free bytes and 280MB until OOM, target footprint 343806528, growth limit 536870912" (VmSize 72136228 kB)&lt;BR /&gt;&lt;BR /&gt;Throwing OutOfMemoryError "Failed to allocate a 536870924 byte allocation with 100663296 free bytes and 153MB until OOM, target footprint 476438488, growth limit 536870912" (VmSize 72062864 kB)&lt;BR /&gt;&lt;BR /&gt;Throwing OutOfMemoryError "Failed to allocate a 536870928 byte allocation with 100663296 free bytes and 153MB until OOM, target footprint 476467816, growth limit 536870912" (VmSize 71917968 kB)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 09:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1519129#M6224</guid>
      <dc:creator>RafałKaczmarczyk</dc:creator>
      <dc:date>2024-08-13T09:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: High memory consumption when creating the layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1521674#M6226</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tried your service and applied your renderer in one of the 100.15.5 &lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/main/kotlin/" target="_self"&gt;samples&lt;/A&gt; and see that memory stayed around 400-600MB as I pan and interact with the map with above provided feature service. I also tried the same in 200.x version samples and the behavior was same.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-08-14 at 10.46.57 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/112354i738E22BAB8D94F9E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-08-14 at 10.46.57 AM.png" alt="Screenshot 2024-08-14 at 10.46.57 AM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Is there potentially something else happening in your app that is causing the memory spike? Or am I missing any other repro steps needed?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rama&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 17:59:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1521674#M6226</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2024-08-14T17:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: High memory consumption when creating the layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1538188#M6236</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Continuing the thread from user RafałKaczmarczyk:&lt;BR /&gt;Additionally, in the mapping application, there was a VT service connected, which had a large extent.&lt;/P&gt;&lt;P&gt;„{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"name" : "vtpk",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"type" : "indexedVector",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "tileMap" : "tilemap",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "defaultStyles" : "resources/styles",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"tiles" : [ "tile/{z}/{y}/{x}.pbf" ],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"initialExtent" : {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "xmin" : -2543559.0253459355,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "ymin" : -3006844.0137124225,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "xmax" : 7124446.885606469,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "ymax" : 1.164659862890002E7,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"spatialReference" : {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "wkid" : 102100,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;"latestWkid" : 102100&lt;BR /&gt;&amp;nbsp;}&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;Link to the service: &lt;A title="https://mapymalopolski.pl/res/ims-cache/maps/vtilegraniceadministracyjne_flat2952/tile/vtpk/vectortileserver" href="https://mapymalopolski.pl/res/ims-cache/maps/VTileGraniceAdministracyjne_Flat2952/tile/vtpk/VectorTileServer" target="_blank" rel="noreferrer noopener"&gt;https://mapymalopolski.pl/res/ims-cache/maps/VTileGraniceAdministracyjne_Flat2952/tile/vtpk/VectorTileServer&lt;BR /&gt;Please verify the RAM usage, especially with the indicated VT service.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 11:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1538188#M6236</guid>
      <dc:creator>MariuszNowicki1</dc:creator>
      <dc:date>2024-09-13T11:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: High memory consumption when creating the layer</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1538189#M6237</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Please verify the RAM usage, especially with the indicated above VT service.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 11:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/high-memory-consumption-when-creating-the-layer/m-p/1538189#M6237</guid>
      <dc:creator>MariuszNowicki1</dc:creator>
      <dc:date>2024-09-13T11:29:01Z</dc:date>
    </item>
  </channel>
</rss>

