Map cache memory leak

2 posts, 0 answers
  1. Shrinand
    Shrinand avatar
    15 posts
    Member since:
    Oct 2010

    Posted 02 Dec 2015 Link to this post

    I use BingMapProvider with IsTileCachingEnabled set to true, and I notice memory leak because of the cache even though I call the Dispose() function for the provider class.

    Currently I have a workaround by deriving a CustomBingMapProvider from BingMapProvider to expose the MapSources to public. When disposing, I set all the CacheStorage of the MapSources to null. This workaround works for me.

     Do you have any idea or any solution to dispose the cache properly?

  2. Petar Mladenov
    Petar Mladenov avatar
    2991 posts

    Posted 04 Dec 2015 Link to this post

    Hi Shrinand,

    The CacheStorage can be cleared with invoking Dispose() method of the RadMap control. Could you please try this out in your application and let us know if everything is cleared up successfully. If not, can you send us more details / steps about your scenario , this way we would be better able to create a test project as close as possible to yours. Thank you in advance.

    Petar Mladenov
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top