Edit

Share via


GCMemoryInfo.TotalCommittedBytes Property

Definition

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