Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

GCMemoryInfo.TotalCommittedBytes Property

Definition

Namespace:
System
Assembly:
System.Runtime.dll
Source:
GCMemoryInfo.cs
Source:
GCMemoryInfo.cs
Source:
GCMemoryInfo.cs
Source:
GCMemoryInfo.cs
Source:
GCMemoryInfo.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the total committed bytes of the managed heap.

public:
 property long TotalCommittedBytes { long get(); };
public long TotalCommittedBytes { get; }
member this.TotalCommittedBytes : int64
Public ReadOnly Property TotalCommittedBytes As Long

Property Value

The total committed bytes of the managed heap.

Remarks

The total committed bytes is the amount of backing store for the memory. On Windows, bytes are committed when VirtualAlloc is called with MEM_COMMIT. On Linux, bytes are committed when the page mapping is changed to PROT_WRITE | PROT_READ.

Applies to


Feedback

Was this page helpful?