开发者

Output Cache generating OutOfMemoryException

开发者 https://www.devze.com 2023-03-17 06:43 出处:网络
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 entrie

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消