Hi. I develop an app for communication help for children with autism (iOS development for now).
NativeScript is great and works perfectly for all the features of the app, but I have a memory problem when I navigate from one page to another :
Page 1 (the real page : nativescript-slides with panels containing lists - RadListView - of images )
Page 2 (empty for my test)
From Page 1 to Page 2 : 124 Mo -> 94 Mo
From Page 2 to Page 1 : 100 Mo -> 136 Mo
From Page 1 to Page 2 : 136 Mo -> 110 Mo
From Page 2 to Page 1 : 110 Mo -> 151 Mo
From 1 to 2 : 151 Mo -> 123 Mo
From 2 to 1 : 123 Mo -> 166 Mo and so on…
Regarding the images, everything seems ok, 'cause I use a cache.
I managed to reduce the memory loss by removing as many elements from the xml page and setting objects to null, when the page is unloaded, and also passing the garbage collector. I saved 8 Mo on each transition compared with the initial situation. But it’s not enough.
Any suggestions would be a huge help.