Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Memory leak in xamGeographicMap w/OpenStreetMap
posted

Is there a know issue where the xamGeograhpicMap memory footprint grows while panning/zooming?  In particular, we can reproduce the behavior in a standalone app with nothing but the map using OpenStreetMap and zoomed into highest resolution tiles.  Start in new york and pan west, the process grows to about 800MB and then crashes with OutOfMemory exception.

We hoped it was because we were using an older 12.2-based version.  We just upgraded to 13.2 and found the same behavior.  What can we do?  It's now an emergency since we advertised the capability after seeing how quickly we could get it in there.

Parents
  • 85
    posted

    Attached is a solution which exhibits the problem.  It's a completely default map which zooms into Wash DC and proceeds to pan horizontally with a timer.  Takes a half hour or more to crash but you can see it grow consistently and w/o bounds (until crashing).  

    MapTest.zip
Reply Children