共用方式為


CacheSection.PercentagePhysicalMemoryUsedLimit 屬性

定義

取得或設定值,表示虛擬記憶體使用的最大百分比。

public:
 property int PercentagePhysicalMemoryUsedLimit { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("percentagePhysicalMemoryUsedLimit", DefaultValue=0)]
[System.Configuration.IntegerValidator(MaxValue=100, MinValue=0)]
public int PercentagePhysicalMemoryUsedLimit { get; set; }
[<System.Configuration.ConfigurationProperty("percentagePhysicalMemoryUsedLimit", DefaultValue=0)>]
[<System.Configuration.IntegerValidator(MaxValue=100, MinValue=0)>]
member this.PercentagePhysicalMemoryUsedLimit : int with get, set
Public Property PercentagePhysicalMemoryUsedLimit As Integer

屬性值

虛擬記憶體使用的最大百分比。 預設值為 90%。

屬性

範例

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

備註

屬性 PercentagePhysicalMemoryUsedLimit 會指定高壓力條件的臨界值。 當接近此臨界值時,快取系統會逐漸開始更積極清除量值。

適用於

另請參閱