GCMemoryInfo.TotalCommittedBytes Property

Definition

Gets the total committed bytes of the managed heap.

C#
public long TotalCommittedBytes { get; }

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

Product Versions
.NET 5, 6, 7, 8, 9, 10