<?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: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372698#M12468</link>
    <description>&lt;P&gt;PPS: Not even creating the whole layer from scratch helps. Always +500MByte per page switch:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;...
    private void OnUnloaded(object? sender, EventArgs e){}

    private async void OnLoaded(object? sender, EventArgs e)
    {
        MyMapView.Map!.OperationalLayers.Clear();

        for (var i = 0; i &amp;lt;= 43; i++)
        {
            var dataset = new KmlDataset(new Uri($"http://soko.yourweb.de/kmz/MemoryLeak/{i:00000}.kmz"));
            await dataset.LoadAsync();
            var kmlLayer = new KmlLayer(dataset);
            MyMapView.Map!.OperationalLayers.Add(kmlLayer);
        }
    }
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also disabling the HttpResponseCache in CreateMauiApp() does not help:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;ArcGISRuntimeEnvironment.Initialize(configuration =&amp;gt; configuration.ConfigureHttp(httpConfiguration =&amp;gt; httpConfiguration.UseResponseCache(false)));&lt;/LI-CODE&gt;&lt;P&gt;Please help! I need a workaround here. I am out of ideas &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Soko&lt;/P&gt;</description>
    <pubDate>Sat, 20 Jan 2024 19:09:54 GMT</pubDate>
    <dc:creator>SokoFromNZ</dc:creator>
    <dc:date>2024-01-20T19:09:54Z</dc:date>
    <item>
      <title>.NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372434#M12462</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;The current ArcGIS Runtime v200.3.0 with the current .NET Maui from VS 17.8.5 has a big memory leak which causes our app to crash on a real world Android device just after a few page changes to the map.&lt;/P&gt;&lt;P&gt;I can reproduce this behavior on any real world device. There the app crashes. The emulator though just allocates more and more memory of course.&lt;/P&gt;&lt;P&gt;I have created two simple apps (see ZIP file).&lt;BR /&gt;One is MAUI8+v200.3.0 (Map8 in the video).&lt;BR /&gt;One is MAUI7+v200.2.0 (Map7 in the video).&lt;/P&gt;&lt;P&gt;You clearly see the memory of the process &lt;EM&gt;qemu-system-x86_64.exe&lt;/EM&gt;&amp;nbsp;(Android Emulator) go up each time the loaded map gets displayed again &lt;STRONG&gt;by almost 1 GByte&lt;/STRONG&gt;&amp;nbsp;on the Map8 app.&lt;/P&gt;&lt;P&gt;On the Map7 app it almost stays the same (On the very top of the video you see the Task Manager with the process, CPU and Memory Usage):&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6345197256112w226h540r411" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6345197256112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6345197256112w226h540r411');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6345197256112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;All both apps are doing is creating a map and loading 44 KMZ files with a total of 10MByte. Here is the MainPage.xaml.cs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using System;
using System.Threading.Tasks;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Mapping;
using Esri.ArcGISRuntime.Ogc;
using Microsoft.Maui.Controls;
using Map = Esri.ArcGISRuntime.Mapping.Map;

namespace ArcGISTry1;

public partial class MainPage : ContentPage
{
    public MainPage()
    {
        InitializeComponent();

        // Create the UI, setup the control references and execute initialization
        _ = Initialize();
    }

#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
    private async Task Initialize()
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
    {
        // Set map to mapview
        MyMapView.Map = new Map(BasemapStyle.OSMLightGray)
        {
            InitialViewpoint = new Viewpoint(new MapPoint(11.406534, 47.719954, SpatialReferences.Wgs84), 6000)
        };

        MyMapView.Loaded += OnLoaded;
    }

    private async void OnLoaded(object? sender, EventArgs e)
    {
        for (var i = 0; i &amp;lt;= 43; i++) {
            var dataset = new KmlDataset(new Uri($"http://soko.yourweb.de/kmz/MemoryLeak/{i:00000}.kmz"));
            await dataset.LoadAsync();
            var kmlLayer = new KmlLayer(dataset);
            MyMapView.Map!.OperationalLayers.Add(kmlLayer);
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Those KMZ files are from my production environment and get loaded like this every day by the users which currently use MAUI7.&lt;/P&gt;&lt;P&gt;Please look at this as soon as you can as I have to do another release in February and with this big bug its impossible to do so.&lt;/P&gt;&lt;P&gt;A workaround would help as well if no pre-release is possible until then.&lt;/P&gt;&lt;P&gt;As mentioned already: This is not an Emulator issue! Its just a good and easy way to show/see the problem. After switching pages on the emulator for 1-2 minutes the process used more than 64GByte on my machine.&lt;BR /&gt;On the real device (4 and 6 GByte) it only survies a couple a switches....&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Soko&lt;/P&gt;&lt;P&gt;PS: on the Map7/MAUI7 app you have to move your finger over the map after switching back from the notes-page. This is a known bug in ArcGIS 200.2.0 (see my other post for this).&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 19:04:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372434#M12462</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-01-19T19:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372537#M12463</link>
      <description>&lt;P&gt;I'll take a look, but a few things that come to mind:&lt;BR /&gt;- Are you seeing with with .NET8 + 200.2 ? (if so it's the .NET 8 upgrade, not 200.3 upgrade causing it)&lt;BR /&gt;- Careful will "Loaded". that'll fire each time the mapview re-appears (and this was actually a bug in net7 that it didn't consistently fire). It could just be you keep adding the 44(!!!) KML layers over and over again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 21:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372537#M12463</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-01-19T21:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372540#M12464</link>
      <description>&lt;P&gt;Don't have access to running on Android right now, but on Windows, I do see that happening and I'm almost certain that is the issue with your sample:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dotMorten_esri_0-1705698912744.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92274i103194776A742CAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dotMorten_esri_0-1705698912744.png" alt="dotMorten_esri_0-1705698912744.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 21:15:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372540#M12464</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-01-19T21:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372541#M12465</link>
      <description>&lt;P&gt;&amp;nbsp;For reference:&amp;nbsp;&lt;A href="https://github.com/dotnet/maui/issues/16697#issuecomment-1854400456" target="_blank"&gt;https://github.com/dotnet/maui/issues/16697#issuecomment-1854400456&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 21:17:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372541#M12465</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-01-19T21:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372670#M12466</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and thanks so much for your quick reply.&lt;/P&gt;&lt;P&gt;You are correct. I was not aware of MAUI7 having the bug not calling Loaded-Event every time the page gets visible again (we discussed the bugyness of MAUI already in another ticket &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; )...&lt;BR /&gt;Thanks for making me aware of this:&lt;/P&gt;&lt;P&gt;But (there is always a but) correcting my error cuts the memory leak only in half:&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6345246039112w516h540r202" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6345246039112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6345246039112w516h540r202');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6345246039112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;On the left you see my corrected source (which I confirmed to work via debugging)&lt;/P&gt;&lt;P&gt;Maybe not all your source code was adjusted to this new correct behavior of MAUI8?&lt;/P&gt;&lt;P&gt;Thanks again for your quick help&lt;/P&gt;&lt;P&gt;Soko&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 08:43:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372670#M12466</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-01-20T08:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372671#M12467</link>
      <description>&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;Changing my code to this (unloading and reloading the layers on each change) doesn't help. MemoryLeak is still the same as shown in the video above:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Mapping;
using Esri.ArcGISRuntime.Ogc;
using Microsoft.Maui.Controls;
using Map = Esri.ArcGISRuntime.Mapping.Map;

namespace ArcGISTry1;

public partial class MainPage : ContentPage
{
    public MainPage()
    {
        InitializeComponent();

        // Create the UI, setup the control references and execute initialization
        _ = Initialize();
    }

#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
    private async Task Initialize()
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
    {
        // Set map to mapview
        MyMapView.Map = new Map(BasemapStyle.OSMLightGray)
        {
            InitialViewpoint = new Viewpoint(new MapPoint(11.406534, 47.719954, SpatialReferences.Wgs84), 6000)
        };

        MyMapView.Loaded += OnLoaded;
        MyMapView.Unloaded += OnUnloaded;
    }

    private void OnUnloaded(object? sender, EventArgs e)
    {
        _layers.Clear();
        _layers.AddRange(MyMapView.Map!.OperationalLayers);
        MyMapView.Map!.OperationalLayers.Clear();
    }

    private async void OnLoaded(object? sender, EventArgs e)
    {
        if (_layers.Count == 0)
        {
            for (var i = 0; i &amp;lt;= 43; i++)
            {
                var dataset = new KmlDataset(new Uri($"http://soko.yourweb.de/kmz/MemoryLeak/{i:00000}.kmz"));
                await dataset.LoadAsync();
                var kmlLayer = new KmlLayer(dataset);
                MyMapView.Map!.OperationalLayers.Add(kmlLayer);
            }
        }
        else
        {
            MyMapView.Map!.OperationalLayers.AddRange(_layers);
        }
    }

    private readonly List&amp;lt;Layer&amp;gt; _layers = [];
}&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 20 Jan 2024 09:07:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372671#M12467</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-01-20T09:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372698#M12468</link>
      <description>&lt;P&gt;PPS: Not even creating the whole layer from scratch helps. Always +500MByte per page switch:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;...
    private void OnUnloaded(object? sender, EventArgs e){}

    private async void OnLoaded(object? sender, EventArgs e)
    {
        MyMapView.Map!.OperationalLayers.Clear();

        for (var i = 0; i &amp;lt;= 43; i++)
        {
            var dataset = new KmlDataset(new Uri($"http://soko.yourweb.de/kmz/MemoryLeak/{i:00000}.kmz"));
            await dataset.LoadAsync();
            var kmlLayer = new KmlLayer(dataset);
            MyMapView.Map!.OperationalLayers.Add(kmlLayer);
        }
    }
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also disabling the HttpResponseCache in CreateMauiApp() does not help:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;ArcGISRuntimeEnvironment.Initialize(configuration =&amp;gt; configuration.ConfigureHttp(httpConfiguration =&amp;gt; httpConfiguration.UseResponseCache(false)));&lt;/LI-CODE&gt;&lt;P&gt;Please help! I need a workaround here. I am out of ideas &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Soko&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 19:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372698#M12468</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-01-20T19:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372710#M12469</link>
      <description>&lt;P&gt;Why do you unload and reload the 44 layers every time the tab shows? You're slowing down map resume significantly, but you're also putting a huge amount of load on the garbage collector. So even with your above change, things don't actually get fully cleaned up until things are out of scope and the garbage collector had a chance to go through the generations.&lt;/P&gt;&lt;P&gt;Why not just add the KML layers when you create the map the first time, and call it good?&lt;/P&gt;&lt;P&gt;Not sure why you want to disable the response cache - that'll only make layers load even slower. No memory will be saved (on the contrary).&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 04:14:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372710#M12469</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-01-21T04:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372717#M12471</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've made too many posts here, sorry for the confusion.&lt;/P&gt;&lt;P&gt;On the post with my 2nd video I did exactly what you suggest. Still +500MByte every time (see video).&lt;/P&gt;&lt;P&gt;On my PS and PPS posts I've tried to come up with a workaround for this memory leak - which I couldn't. Just wanted to let you what I've already tried so you don't have to.&lt;/P&gt;&lt;P&gt;To make things very easy I use this MainPage.xaml.cs now:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using System;
using System.Threading.Tasks;
using Esri.ArcGISRuntime.Geometry;
using Esri.ArcGISRuntime.Mapping;
using Esri.ArcGISRuntime.Ogc;
using Microsoft.Maui.Controls;
using Map = Esri.ArcGISRuntime.Mapping.Map;

namespace ArcGISTry1;

public partial class MainPage : ContentPage
{
    public MainPage()
    {
        InitializeComponent();
        _ = Initialize();
    }
    private async Task Initialize()
    {
        // Set map to mapview
        MyMapView.Map = new Map(BasemapStyle.OSMLightGray)
        {
            InitialViewpoint = new Viewpoint(new MapPoint(11.406534, 47.719954, SpatialReferences.Wgs84), 6000)
        };
        
        for (var i = 0; i &amp;lt;= 43; i++)
        {
            var dataset = new KmlDataset(new Uri($"http://soko.yourweb.de/kmz/MemoryLeak/{i:00000}.kmz"));
            await dataset.LoadAsync();
            var kmlLayer = new KmlLayer(dataset);
            MyMapView.Map!.OperationalLayers.Add(kmlLayer);
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I still get +500MByte each time I switch back to the map-page.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So +500MByte of my initial post was my fault. But +500Mbyte is somewhere in your Runtime.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Soko&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 08:28:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1372717#M12471</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-01-21T08:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1373014#M12472</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;Where you able to reprocude this issue on your side or do you need more info from my side?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 16:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1373014#M12472</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-01-22T16:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1374279#M12485</link>
      <description>&lt;P&gt;I have attached the current MAUI8 solution with no errors on my side (sorry about that again) for your convenience.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1217"&gt;@PreetiMaske&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/256344"&gt;@MatveiStefarov&lt;/a&gt;&amp;nbsp;: As dotMorten seems to be busy or sick I would like to ask you guys to look at it quickly and give me confirmation you can reproduce the issue on your side.&lt;/P&gt;&lt;P&gt;I'm forced to release the MAUI8 version of my app in the first half of February. Which I'm unable to do with this bug in it.&lt;/P&gt;&lt;P&gt;I know its not realistic to get it fixed until then. But I still hope there's a workaround you can find...&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Soko&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 07:24:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1374279#M12485</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-01-25T07:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1375808#M12494</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just saw another memory issue report which you responded to, but it seems there is another issue. Have you had time to review my last example/zip-file?&lt;/P&gt;&lt;P&gt;All I would need at the moment is confirmation of the issue.&lt;/P&gt;&lt;P&gt;Thanks, Soko&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 06:25:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1375808#M12494</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-01-30T06:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1376158#M12499</link>
      <description>&lt;P&gt;The issue is still under investigation.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 21:27:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1376158#M12499</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2024-01-30T21:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1395591#M12568</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/591987"&gt;@SokoFromNZ&lt;/a&gt;&amp;nbsp;I have not been able to reproduce the memory leak in an Android emulator.&amp;nbsp; After switching pages repeatedly, I see memory change by at most 2 MB per cycle:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-03-13_125803 studio64.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97950iB1E49B4576630244/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-03-13_125803 studio64.png" alt="2024-03-13_125803 studio64.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran your latest updated reproducer, build with ArcGIS Maps SDK 200.3.0 in VisualStudio 17.9.3.&amp;nbsp; Are you still able to reproduce this with latest-stable versions of MAUI workloads?&amp;nbsp; Could it be that one of the recent MAUI service releases (&lt;A href="https://github.com/dotnet/maui/releases/tag/8.0.6" target="_self"&gt;8.0.6&lt;/A&gt; or&amp;nbsp;&lt;A href="https://github.com/dotnet/maui/releases/tag/8.0.7" target="_self"&gt;8.0.7&lt;/A&gt; or &lt;A href="https://github.com/dotnet/maui/releases/tag/8.0.10" target="_self"&gt;8.0.10&lt;/A&gt;) plugged the leaks that affected this project?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 21:41:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1395591#M12568</guid>
      <dc:creator>MatveiStefarov</dc:creator>
      <dc:date>2024-03-13T21:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1395700#M12569</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/256344"&gt;@MatveiStefarov&lt;/a&gt;&amp;nbsp; I will give it a try.&lt;/P&gt;&lt;P&gt;I had no choice than to downgrade to 200.2.0 but leave MAUI at NET8 for our release... which also "solved" (memory still increases but instead of 4 page changes I can do ~100 before it crashes on my hardware device) this problem here. So it is not totally an MAUI issue for sure.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 07:41:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1395700#M12569</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-03-14T07:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1395971#M12570</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/256344"&gt;@MatveiStefarov&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In short&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The memory leak &lt;U&gt;is still the same&lt;/U&gt; as of the time of the first post here&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the emulator via VS debugging&lt;/LI&gt;&lt;LI&gt;In the emulator via APK installation&lt;/LI&gt;&lt;LI&gt;On real hardware via VS debugging&lt;/LI&gt;&lt;LI&gt;On real hardware via APK installation&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Do you use my example source? If not: Can you please send me the source code you used to create the graph above?&lt;/P&gt;&lt;P&gt;I have attached my source code below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Details&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am using the VS versions you mentioned:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VS-NuGet-Versions.png" style="width: 526px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97999i13A084A421899F49/image-size/large?v=v2&amp;amp;px=999" role="button" title="VS-NuGet-Versions.png" alt="VS-NuGet-Versions.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am using the plain/standard API34 emulator coming with VS2022:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Emulator.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/98000i81A21D50C364D68F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Emulator.png" alt="Emulator.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I do not have Android Studio installed, only the stuff coming with VS. So here is the video on the emulator using a published APK (using publish.bat in the source attached). The apk you can download here to test it on your emulator or hardware:&amp;nbsp;&lt;A href="http://soko.yourweb.de/com.companyname.memoryleak8-Signed.apk" target="_self"&gt;http://soko.yourweb.de/com.companyname.memoryleak8-Signed.apk&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see at the memory column of the task manager in the background: the memory always increases.&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6348905610112w232h540r301" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6348905610112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6348905610112w232h540r301');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6348905610112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the end though, I really don't care if this is how it is via debugging and/or on emulators. &lt;U&gt;The only thing that counts is a release on a real device.&lt;/U&gt;&lt;BR /&gt;Thats why I created/published the APK (link see above) and installed the app on the devices the users are using. This video shows the memory leak and the crash on a Samsung Tablet (Samsung SM-P619, Android 14 | One UI 6.0). Same happens on all my devices. The video is too big to have it inline here. So you have to download it to watch:&amp;nbsp;&lt;A href="http://soko.yourweb.de/Hardware.mp4" target="_self"&gt;http://soko.yourweb.de/Hardware.mp4&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The RAM Memory Monitor I use in the app can be found&amp;nbsp;&lt;A href="https://play.google.com/store/apps/details?id=com.glgjing.captain" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Suggestions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm very curious what makes the issue not reproduceable on your side.&lt;/P&gt;&lt;P&gt;Can you please try to install and run the APK on a real device on your side? I cannot imagine the RAM does not go up steadily on each page-switch.&lt;/P&gt;&lt;P&gt;Can you send me a link to an APK of your set app? I would love to try it on my real device.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;BR /&gt;Soko&lt;/P&gt;&lt;P&gt;PS: If I change the NuGet Package in my csproj from 200.3.0 to 200.&lt;STRONG&gt;2&lt;/STRONG&gt;.0 (nothing else) the memory leak is gone. So I do not see how this can be a (sole) MAUI bug...&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 15:34:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1395971#M12570</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-03-14T15:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1408759#M12618</link>
      <description>&lt;P&gt;Side question - what memory tool generated this image?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 21:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1408759#M12618</guid>
      <dc:creator>BrianLoehr</dc:creator>
      <dc:date>2024-04-11T21:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1418010#M12664</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/256344"&gt;@MatveiStefarov&lt;/a&gt;&amp;nbsp;Can you please give me an update of your progress here? This bug is still valid with&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;VS 17.9.16&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&amp;lt;PackageReference Include="Microsoft.Maui.Controls" Version="&lt;STRONG&gt;8.0.21&lt;/STRONG&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&amp;lt;PackageReference Update="Microsoft.Maui.Controls.Compatibility" Version="8.0.21" /&amp;gt;&lt;/LI&gt;&lt;LI&gt;&amp;lt;PackageReference Include="Esri.ArcGISRuntime.Maui" Version="&lt;STRONG&gt;200.4.0&lt;/STRONG&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thomas (from MySynergis) said he has talked to you in person in March in at the Esri event and that you will have a look into it again...we really need a solution for this.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 13:45:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1418010#M12664</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-05-02T13:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1495768#M12816</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/256344"&gt;@MatveiStefarov&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;To the 5 Month anniversary of this bug - which is still blocking our application from publishing - I'd like to ask again about a status update.&lt;/P&gt;&lt;P&gt;Please have a look at my last detailed videos and source and let me know if you can reproduce it on a real hardware device as mentioned.&lt;/P&gt;&lt;P&gt;Soko&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 08:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1495768#M12816</guid>
      <dc:creator>SokoFromNZ</dc:creator>
      <dc:date>2024-06-21T08:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: .NET 8 / MAUI 8: Big memory leak in MapView on Android introduced</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1513776#M12918</link>
      <description>&lt;P&gt;Unfortunately, we are not able to reproduce the memory leak with .NET on Android or with ArcGIS Maps SDK for Kotlin counterpart, with same data.&amp;nbsp;We don't see any&amp;nbsp;&lt;SPAN&gt;noticeable increase in memory spikes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 17:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/net-8-maui-8-big-memory-leak-in-mapview-on-android/m-p/1513776#M12918</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2024-08-01T17:15:11Z</dc:date>
    </item>
  </channel>
</rss>

