<?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 Memory leak when using MapView in a Shell application with multiple tabs in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1480358#M12741</link>
    <description>&lt;P&gt;&lt;SPAN&gt;When switching tabs back and forth memory usage will increase for no good reason. The memory increases when switching TO the page with the MapView. It rapidly increases to multiple gigabytes and the application is killed by the OS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please see repro code and my findings (in the readme) at GIT repository&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/espenrl/issue-repro/tree/main/arcgis-maps-maui-v200.4.0-high-memory-usage" target="_blank" rel="noopener"&gt;issue-repro/arcgis-maps-maui-v200.4.0-high-memory-usage at main · espenrl/issue-repro (github.com)&lt;/A&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;H3&gt;TLDR&lt;/H3&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;Memory increase in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Total PSS,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Total RSS,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Graphics,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;EGL mtrack&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;GL mtrack&lt;/LI&gt;&lt;LI&gt;Reproduces every time on a Samsung S22 Plus device&lt;/LI&gt;&lt;LI&gt;Does NOT reproduce on Android emulator for Windows&lt;/LI&gt;&lt;LI&gt;No difference using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;GC.Collect(generation: 2)&lt;/LI&gt;&lt;LI&gt;No difference between debug and release builds&lt;/LI&gt;&lt;LI&gt;Potential issue from ADB logcat&lt;UL&gt;&lt;LI&gt;vulkan CreateSwapchainKHR(VkSwapchainCreateInfoKHR.imageColorSpace = 1000104013) failed: Unsupported color space, but assume as Success for ANGLE.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://android.googlesource.com/platform/frameworks/native/+/refs/heads/main/vulkan/libvulkan/swapchain.cpp#1597" target="_blank" rel="nofollow noopener"&gt;https://android.googlesource.com/platform/frameworks/native/+/refs/heads/main/vulkan/libvulkan/swapchain.cpp#1597&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 16:34:11 GMT</pubDate>
    <dc:creator>esp1rl</dc:creator>
    <dc:date>2024-05-29T16:34:11Z</dc:date>
    <item>
      <title>Memory leak when using MapView in a Shell application with multiple tabs</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1480358#M12741</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When switching tabs back and forth memory usage will increase for no good reason. The memory increases when switching TO the page with the MapView. It rapidly increases to multiple gigabytes and the application is killed by the OS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please see repro code and my findings (in the readme) at GIT repository&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/espenrl/issue-repro/tree/main/arcgis-maps-maui-v200.4.0-high-memory-usage" target="_blank" rel="noopener"&gt;issue-repro/arcgis-maps-maui-v200.4.0-high-memory-usage at main · espenrl/issue-repro (github.com)&lt;/A&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;H3&gt;TLDR&lt;/H3&gt;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;Memory increase in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Total PSS,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Total RSS,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Graphics,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;EGL mtrack&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;GL mtrack&lt;/LI&gt;&lt;LI&gt;Reproduces every time on a Samsung S22 Plus device&lt;/LI&gt;&lt;LI&gt;Does NOT reproduce on Android emulator for Windows&lt;/LI&gt;&lt;LI&gt;No difference using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;GC.Collect(generation: 2)&lt;/LI&gt;&lt;LI&gt;No difference between debug and release builds&lt;/LI&gt;&lt;LI&gt;Potential issue from ADB logcat&lt;UL&gt;&lt;LI&gt;vulkan CreateSwapchainKHR(VkSwapchainCreateInfoKHR.imageColorSpace = 1000104013) failed: Unsupported color space, but assume as Success for ANGLE.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://android.googlesource.com/platform/frameworks/native/+/refs/heads/main/vulkan/libvulkan/swapchain.cpp#1597" target="_blank" rel="nofollow noopener"&gt;https://android.googlesource.com/platform/frameworks/native/+/refs/heads/main/vulkan/libvulkan/swapchain.cpp#1597&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 16:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1480358#M12741</guid>
      <dc:creator>esp1rl</dc:creator>
      <dc:date>2024-05-29T16:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Memory leak when using MapView in a Shell application with multiple tabs</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1490502#M12767</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/573306"&gt;@esp1rl&lt;/a&gt;&amp;nbsp;thank you for your question and attached reproducer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I was able to reproduce your issue on a Motorola g200 5g using 200.4.0 nuget packages. This didn't occur initially but when I zoomed in on your data and rapidly moved between tabs I triggered the memory leak and crashed the app.&lt;BR /&gt;&lt;BR /&gt;I then tested your reproducer with 200.5.0 packages which will be available in the next release. This includes improvements to memory handling for .NET MAUI Android. In my testing I was not able to reproduce the crash with 200.5.0 packages.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Your issue should be resolved in the next release, if it is not please post again and we can take another look.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 14:03:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1490502#M12767</guid>
      <dc:creator>HamishDuff</dc:creator>
      <dc:date>2024-06-12T14:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Memory leak when using MapView in a Shell application with multiple tabs</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1495132#M12806</link>
      <description>&lt;P&gt;Thanks for the update&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/755586"&gt;@HamishDuff&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a new test with MAUI v8 SR6 as it has some fixed some memory leaks, but the same problem persists. I guess I will have to wait for 200.5.0&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 23:48:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1495132#M12806</guid>
      <dc:creator>esp1rl</dc:creator>
      <dc:date>2024-06-19T23:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Memory leak when using MapView in a Shell application with multiple tabs</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1495133#M12807</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/755586"&gt;@HamishDuff&lt;/a&gt;&amp;nbsp;do you have a NuGet feed for beta packages of 200.5.0 ? Would love to test it and make sure that the problem is fixed. If not there will be a long wait for a fix in the next release after.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 23:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1495133#M12807</guid>
      <dc:creator>esp1rl</dc:creator>
      <dc:date>2024-06-19T23:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Memory leak when using MapView in a Shell application with multiple tabs</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1537866#M13030</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/573306"&gt;@esp1rl&lt;/a&gt;&amp;nbsp;, ArcGIS Maps SDK for .NET was released mid of August 2024. Were you able to test your workflow with the latest version? If yes, is it working as expected?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 16:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/memory-leak-when-using-mapview-in-a-shell/m-p/1537866#M13030</guid>
      <dc:creator>PreetiMaske</dc:creator>
      <dc:date>2024-09-12T16:52:25Z</dc:date>
    </item>
  </channel>
</rss>

