Memory Leak on Page Navigation while removing the page. #21403
Labels
area-navigation
NavigationPage
memory-leak 💦
Memory usage grows / objects live forever (sub: perf)
platform/android 🤖
s/needs-repro
Attach a solution or code which reproduces the issue
t/bug
Something isn't working
Description
In our application Performance degradation when navigating to a page and going back several times and also the memory keeps on increasing which leads to app crash.
we have lots of CollectionViews and complex master-details with multiple views, data forms and custom controls.
we have Fleets page where we show list of fleets in collection view. (Binding have been done in the backend .cs File of XAML).
In the same page we have Home Icon which helps to navigate to the another page ( FleetsHome Page) .
When navigating to the FleetsHome page we will Application.Current.MainPage.Navigation.RemovePage(FleetsPage) since we wont navigate Back to Fleets Page.
Here When we continuolsy Navigating between pages this the the app memory increases on each navigation.
Question :
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.10 SR3
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
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: