dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.99k stars 1.72k forks source link

Memory increases when switching the tabs. #23680

Open SethupathyD opened 2 months ago

SethupathyD commented 2 months ago

Description

I defined a ListView in the ContentView and later added it as content to NewPage1. When switching between tabs (i.e., List1, List2, List3, etc.), I noticed that the heap memory size increases and decreases significantly. I observed these memory changes using the performance profiler. I have also attached the performance profiler output image for your reference. image

Steps to Reproduce

Run the attached sample Switch the tab. on every tab switch check with performance profiler.

Link to public reproduction project repository

https://github.com/SethupathyD/MemoryLeak

Version with bug

8.0.70 SR7

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, Windows, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

github-actions[bot] commented 2 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

DevashriMahindrakar commented 1 month ago

Can you please update when this issue would be addressed?

cdharbinger commented 1 month ago

Hello Team,

When can we expect the fix, its a big blocker for our product.

cdharbinger commented 4 days ago

Hello Team,

Can we please expect some ETA to get the solution for this problem? It's very critical for our product