Bagikan melalui


CacheSection.PercentagePhysicalMemoryUsedLimit Properti

Definisi

Mendapatkan atau menetapkan nilai yang menunjukkan persentase maksimum penggunaan memori virtual.

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

Nilai Properti

Persentase maksimum penggunaan memori virtual. Nilai defaultnya adalah 90%.

Atribut

Contoh

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

Keterangan

Properti PercentagePhysicalMemoryUsedLimit menentukan ambang batas untuk kondisi tekanan tinggi. Saat ambang ini mendekati, sistem cache secara bertahap memulai langkah-langkah pemulungan yang lebih agresif.

Berlaku untuk

Lihat juga