Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Windows Phone possible memory leak

$
0
0

I am coming up against a leak and I don't really know where it is.

I have 2 pages. The first one has a listview, with a viewcell but just an empty ContentView in it. and button, the second one has nothing but an empty grid.

The memory goes up when I move to the second page, which is expected. Then I press back and the memory goes down a bit but not entirely. If I keep going up the memory goes.

Now of course it looks like the second page isn't been released, however if I remove the empty ContentView from the ViewCell on the first page all the memory gets released. So its the fact the first page is reappearing that is seems to be reloading the ListView again and not releasing what it just replaced.

Has anyone come across this before or knows what is happening? I wouldn't think I would be the only one to experience this and with a ListView with images the memory leak just gets more severe really quickly.


Viewing all articles
Browse latest Browse all 77050

Trending Articles