When I check /sitecore/admin/cache.aspx
I see a total cache size value of around 334000000
(334 MB). The size is consistent with what I see when doing a quick calculation of the current run size of all the entries.
However, when I check my Sitecore logs aorund the same time, they mention a "running total" which is much larger and doesn't seem to be correlated with what is shown on the cache.aspx
page at all:
Cache created: 'RequestProtection.HashCache' (max size: 3MB, running total: 4595MB)
This is a headless 10.2 SXA CM instance running on an Azure App Service.
Why the delta?
EDIT
After continuing to monitor the logs, I noticed something even more perplexing. The running total size supposedly reached ~19 GB, which is impossible given that the App Service only has 16 GB of memory. Further, if that was actually true, I would expect to see the infrastructure at max memory load, and it is nowhere near that.
Meanwhile, the cache.aspx
page shows a running total of only 522 MB .