Out of memory exception

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?

Answers

Sign In or Register to comment.