After a random interval, our application will appear to lock up when switching to a different view. The profiler indicates that the time is being spent in MS.Internal.SecurityHelper.MapUrlToZoneWrapper (and presumably therefore in the native MapUrlToZone
function). The method takes 1.3s to return; multiply by ~150 images and the total wait time for the user is three minutes (for what is usually an instant operation).
My question is - why does this start happening at a random point during the application's lifetime? For the first half-hour or so, the experience is perfectly normal - you can flip between the two views as much as you like with no ill effect. Then
at a certain point it starts taking minutes to switch - one CPU core is at 100% during the period.
Internally, we're using bitmaps with a UriSource pointing to an in-process http server (long story about why this is the case).
View Complete Post