Based on the description, it seems like an out-of-memory situation. Are you resizing the images somewhere? Remember that decoded images can be large, regardless of the file size (because that is compressed).

2014-04-15, 12:17

venu238

Re: How to load recent images from the media library?

Nope, how should and where should I resize image?
Should I convert ImageSource to bitmapImage and then decode pixel width?

Aside from that - you should load the image from the stream using a DecodePixelWidth if you only want to use them as thumbnails for now. Also the Streams aren't disposed so they will keep hogging resources which you probably don't need them to do after you finished loading the thumbnail.

2014-04-15, 14:02

venu238

Re: How to load recent images from the media library?

Okay! I want a link to the image source on image tap. So, I should include one more property in my class to get the link of image source.
Instead of doing all these things, Can I use storage file in the above scenario?