title: Memory not being relieved when setting BitmapImage to null
body: <p>I have a collections of objects, each object contains a BitmapImage. I have this collection bound to a FlipView. When user flips a page in he FlipView, the BitmapInmage of the selected object gets loaded from ApplicationData and I set the BitmapImage of the previous object to null to relieve the memory. The problem is, that the memory never gets relieved and the app crashes after some time of flipping. When I look at the collection, only the actual item has its BitmapImage set, all the others have it as null. So how do I relieve the memory?</p>
  
  <p>The way I load the images:</p>
  
  <pre><code>StorageFile s = await ApplicationData.Current.LocalFolder.GetFileAsync(localFilename);
  BitmapImage bitmapImage = new BitmapImage();
  using (var stream = await s.OpenAsync(FileAccessMode.Read))
  {                    
      bitmapImage.SetSource(stream);
  }                
  return bitmapImage;
  </code></pre>
  
  <p><strong>Edit:</strong> I think the problem may be the way I load the Image, I guess the file stream does not get freed</p>