CacheSection.PercentagePhysicalMemoryUsedLimit Property

 

Gets or sets a value indicating the maximum percentage of virtual memory usage.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

<ConfigurationPropertyAttribute("percentagePhysicalMemoryUsedLimit",
	DefaultValue := 0)>
<IntegerValidatorAttribute(MinValue := 0, MaxValue := 100)>
Public Property PercentagePhysicalMemoryUsedLimit As Integer

Property Value

Type: System.Int32

The maximum percentage of virtual memory usage. The default value is 90%.

The PercentagePhysicalMemoryUsedLimit property specifies the threshold for high pressure conditions. As this threshold is approached, the cache system gradually begins more aggressive scavenging measures.

' Increase memory limit.
cacheSection.PercentagePhysicalMemoryUsedLimit =
    cacheSection.PercentagePhysicalMemoryUsedLimit + 1

.NET Framework
Available since 2.0
Return to top
Show: