WPF Map Control memory cache limit?
Posted: Thu Jul 03, 2014 10:19 am
Dear Forum,
We are using the WPF MAP control (Ptv.XServer.Controls.Map.WpfMap) in one of our .NET 4.5 applications. We have noticed, that the control is caching the map images in the memory as the user is using the map. We would like to limit the WPF MAP control's memory usage to a fixed amount, like 100 MB, but we didn't find any solution for this problem.
It is very important to our client because their users are using shared memory and without this limitation a user can consume a huge amount of memory from other users.
Is there any documentation or sample code on how we can configure the memory limit with the map contol?
Thank you,
Balázs
We are using the WPF MAP control (Ptv.XServer.Controls.Map.WpfMap) in one of our .NET 4.5 applications. We have noticed, that the control is caching the map images in the memory as the user is using the map. We would like to limit the WPF MAP control's memory usage to a fixed amount, like 100 MB, but we didn't find any solution for this problem.
It is very important to our client because their users are using shared memory and without this limitation a user can consume a huge amount of memory from other users.
Is there any documentation or sample code on how we can configure the memory limit with the map contol?
Thank you,
Balázs