标签: asp.net memory httpruntime.cache
我在web.config中输入了缓存大小的值,如下所示:
<system.web> <caching> <cache privateBytesLimit="10000000" privateBytesPollTime="00:01:00" /> </caching>
但是,当我检查System.Web.HttpRuntime.Cache.EffectivePrivateBytesLimit的值时,它会设置为-1。有什么想法吗?
System.Web.HttpRuntime.Cache.EffectivePrivateBytesLimit
-1