I'm getting OutOfMemoryException in my website when memory reaches 50% of total system memory. Investigating the memory I've found that my problem concern on the growing rates of Output Cache entries (Almost every page has it's own output cache varying by url parameters).
Searching on the web I saw some appointments about the section at web.config, specially on the 开发者_开发技巧privateBytesLimit and percentagePhysicalMemoryUsedLimit attributes, that deals with the threshold values to cache start flushing expired items and attempting to reclaim memory. But I din't understood if at this point the exceptions will be thrown too.
But I'm not sure about best and secure values to put at these attributes. Someone has informations about these values?
Thanks in advance!
http://www.iis.net/ConfigReference/system.webServer/caching
Cheers.
精彩评论