Share via


CacheSection.PercentagePhysicalMemoryUsedLimit Propiedad

Definición

Obtiene o establece un valor que indica el porcentaje máximo de utilización de la memoria 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

Valor de propiedad

El porcentaje máximo de utilización de la memoria virtual. El valor predeterminado es 90 %.

Atributos

Ejemplos

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

Comentarios

La PercentagePhysicalMemoryUsedLimit propiedad especifica el umbral para condiciones de alta presión. A medida que se aproxima este umbral, el sistema de caché comienza gradualmente medidas de scavenging más agresivas.

Se aplica a

Consulte también