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

Out of memory exception

$
0
0

I wrote an app which is ok in iOS.
But I got a lot of Out of memory exception , I found that is because of the detail view of model has an image box.
I binded the model into the view:
model.Image = ImageSource.FromStream (() => new MemoryStream (imageAsBytes));
I found iOS will auto clean up that, but in the android that is not.
Any one has a solution?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>