I want to show local photos in my app and found the sample: 'StorageDataSource and GetVirtualizedFilesVector sample'.
I use bulk api to search for photos in local library and then create a WinJS.UI.StorageDataSource using the result. Finally I bind the data source to a ListView.
But I found that when my app run for a long time, display local photos in different folders for many times, the memory usage increased a lot and finally my app can't response any more.
I also tested the 'StorageDataSource and GetVirtualizedFilesVector sample', and if I show photos list view for many times, the memory usage also increased a lot. Below is the screen shot of the result of Performance Monitor.
How can I reduce the memory usage, it seems when we use createObjectUrl to show local photos(even it's thumbnail), the memory will not be release.
