AppMemoryReport AppMemoryReport AppMemoryReport AppMemoryReport Class

Definition

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

Prerelease APIs are identified by a Prerelease label.

[Contains prerelease APIs.]
Represents app memory usage at a single point in time.

public : sealed class AppMemoryReport : IAppMemoryReportpublic sealed class AppMemoryReport : IAppMemoryReportPublic NotInheritable Class AppMemoryReport Implements IAppMemoryReport// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

ExpectedTotalCommitLimit ExpectedTotalCommitLimit ExpectedTotalCommitLimit ExpectedTotalCommitLimit

Prerelease. Gets the expected commit limit for the current app.

public : ulong ExpectedTotalCommitLimit { get; }public ulong ExpectedTotalCommitLimit { get; }Public ReadOnly Property ExpectedTotalCommitLimit As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The expected commit limit in bytes.

Additional features and requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

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.

PeakPrivateCommitUsage PeakPrivateCommitUsage PeakPrivateCommitUsage PeakPrivateCommitUsage

Gets the app's peak usage of private commit.

public : ulong PeakPrivateCommitUsage { get; }public ulong PeakPrivateCommitUsage { get; }Public ReadOnly Property PeakPrivateCommitUsage As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The app's peak usage of private commit.

PrivateCommitUsage PrivateCommitUsage PrivateCommitUsage PrivateCommitUsage

Gets the app's usage of private commit.

public : ulong PrivateCommitUsage { get; }public ulong PrivateCommitUsage { get; }Public ReadOnly Property PrivateCommitUsage As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The app's usage of private commit.

TotalCommitLimit TotalCommitLimit TotalCommitLimit TotalCommitLimit

Gets the app's total cap for private plus shared commit.

public : ulong TotalCommitLimit { get; }public ulong TotalCommitLimit { get; }Public ReadOnly Property TotalCommitLimit As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The app's total usage of private plus shared commit.

TotalCommitUsage TotalCommitUsage TotalCommitUsage TotalCommitUsage

Gets the app's total usage of private plus shared commit.

public : ulong TotalCommitUsage { get; }public ulong TotalCommitUsage { get; }Public ReadOnly Property TotalCommitUsage As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The app's total cap for private plus shared commit.