Analysis of an issue with Sitecore AccessResultCache running full and being cleared continuously despite large cache size

Disaster girl meme adapted for explaining impact of expensive Sitecore item query on AccessResultCache

We recently had a situation, where we quickly had to grab a virtual whip in order to tame the Sitecore AccessResultCache from going crazy – in terms of reaching it’s allocated size within seconds and thus being constantly cleared by Sitecore.Caching.Generics.Cache