Jaa


AppMemoryReport.ExpectedTotalCommitLimit Property

Definition

Gets the expected commit limit for the current app.

public:
 property unsigned long long ExpectedTotalCommitLimit { unsigned long long get(); };
uint64_t ExpectedTotalCommitLimit();
public ulong ExpectedTotalCommitLimit { get; }
var uInt64 = appMemoryReport.expectedTotalCommitLimit;
Public ReadOnly Property ExpectedTotalCommitLimit As ULong

Property Value

UInt64

unsigned long long

uint64_t

The expected commit limit in bytes.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

When an app launches on Xbox, it is initially given a small commit limit (the sum of the app’s available usage of private plus shared commit memory) which may grow as the system frees memory. This property returns the expected upper limit.

When an app launches on a non-Xbox system, the commit limit the app gets at launch remains the same and this property will return the same value as Windows.System.AppMemoryReport.TotalCommitLimit.

Applies to