Store App Memory Management -


noticed when navigating page on , on 200+ times frame.navigate(type) memory app process continues grow huge amount. page starts become sluggish once process reaches 100 mb ~50 clicks.

from can tell, page instantiated every time navigated (the page constructor hit). though page small, app can grow towards ~1gb of memory.

obviously user not going navigate same page 200 times, app long lived , there many pages, have concern issue.

are there techniques preventing kind of memory growth?

please make sure you've used lots of "using" statements in code , use page_unloaded or onnavigatedfrom(navigationeventargs e) events clean heavy objects , other resources you're using on pages.

or if can convert app mvvm model page cache , consume less memory.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -