1
votes

I have a two WP8 projects. This is projects with map. First project with new Nokia maps and second project with old Bing maps. I noticed inappropriate behavior of old maps. They consume large amounts of memory, and when I go away from the maps then the memory is not freed. In WP7 Bing maps behave differently, it spent as much RAM memory, but when I go away from the map, the memory is immediately freed. How can I return the memory, I have a big problem with old maps, I exceed the limit of 90 Mb in my project ..

Screenshots below.

Any help.

Thanks in advance!

Project 1 Nokia Maps

MainPage

Memory usage

Map page

enter image description here

After go away from map

enter image description here

Project 2 Old Bing maps

enter image description here

enter image description here

enter image description here

enter image description here

After go away from map

enter image description here

2

2 Answers

1
votes

I dunno if this could be help you but I found this

FYI: For Windows Phone 8 map control you need to use the TileSource class from Microsoft.Phone.Maps.Controls. (i.e. Microsoft.Phone.Maps.Controls.TileSource)

here : http://social.msdn.microsoft.com/Forums/wpapps/en-US/66512153-06d0-4269-996a-b4b7e5f995de/windows-phone-8-api-for-open-street-map-osm

0
votes

You can display static maps, use Jeff Wilcox library for such purpose. Check it here http://www.jeff.wilcox.name/2012/01/jeffwilcox-maps/.