Udostępnij za pośrednictwem


CacheSection.PercentagePhysicalMemoryUsedLimit Właściwość

Definicja

Pobiera lub ustawia wartość wskazującą maksymalny procent użycia pamięci wirtualnej.

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

Wartość właściwości

Maksymalny procent użycia pamięci wirtualnej. Wartość domyślna to 90%.

Atrybuty

Przykłady

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

Uwagi

Właściwość PercentagePhysicalMemoryUsedLimit określa próg warunków wysokiego ciśnienia. W miarę zbliżania się tego progu system pamięci podręcznej stopniowo rozpoczyna bardziej agresywne miary oczyszczania.

Dotyczy

Zobacz też