ProcessModelSection.MemoryLimit プロパティ

定義

許容される最大メモリ サイズを示す値を取得または設定します。

public:
 property int MemoryLimit { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("memoryLimit", DefaultValue=60)]
public int MemoryLimit { get; set; }
[<System.Configuration.ConfigurationProperty("memoryLimit", DefaultValue=60)>]
member this.MemoryLimit : int with get, set
Public Property MemoryLimit As Integer

プロパティ値

システム メモリの合計に対する割合。 既定値は 60% です。

属性

次のコード例は、 MemoryLimit プロパティにアクセスする方法を示しています。


 // Get the current MemoryLimit property value.
int memLimit = processModelSection.MemoryLimit;

 // Set the MemoryLimit property to 50.
 processModelSection.MemoryLimit = 50;
' Get the current MemoryLimit property value.
   Dim memLimit As Integer = _
   processModelSection.MemoryLimit

' Set the MemoryLimit property to 50.
processModelSection.MemoryLimit = 50

注釈

メモリ サイズは、システム メモリの合計に対する割合で表されます。 これは、ワーカー プロセスが再起動 (バウンス) ASP.NET 前に消費できるメモリの量です。

適用対象