Noticed that when navigating to a page over and over 200+ times with Frame.Navigate(Type)
the memory for the app process continues to grow to a huge amount. The page starts to become sluggish once the process reaches 100 MB which is about ~50 clicks.
From what I can tell, the page is instantiated every time it is navigated to (the page constructor is hit). Even though this page is fairly small, the app can grow towards ~1GB of memory.
Obviously the user is not going to navigate to the same page 200 times, but this app is long lived and there are many pages, so I do have some concern about this issue.
Are there any techniques for preventing this kind of memory growth?