This topic has not yet been rated - Rate this topic

DeviceStatus.ApplicationCurrentMemoryUsage Property

Windows Phone

March 22, 2012

Returns the memory usage of the current application in bytes.

Namespace:  Microsoft.Phone.Info
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public static long ApplicationCurrentMemoryUsage { get; }

Property Value

Type: System.Int64
Returns Int64.

You can use this property and the ApplicationMemoryUsageLimit property to determine the maximum additional amount of memory that your application process can allocate. For more information and a code example, see ApplicationMemoryUsageLimit.

For more information about the DeviceStatus API, see Device Status for Windows Phone.

Windows Phone OS

Supported in: 7.1

Windows Phone

Did you find this helpful?
(1500 characters remaining)