I made a test application:
https://dl.dropbox.com/u/16063542/TestImageMemory.zip
It consists of three pages:
Starting page.
Page showing a list of images using ListBox
Page showing a list of images using LongListSelector
The same images, the same DataTemplate on pages 2,3:
<DataTemplate>
<Grid Height="300">
<Image local:LowProfileImageLoader.UriSource="{Binding}" />
</Grid>
</DataTemplate>
I'm using LowProfileImageLoader which everybody who developed anything for WP is aware of.
Now, I'm performing a test:
start app.
go to to a ListBoxPage and back 20 times.
Memory consumption doesn't increase and stays at appx. 50 mb level.
Then I do the same with the LongListSelector page.
App crashes on 13th navigation.
Does anybody know what is the problem?