Android Guides | Samples

Android.OS.Debug.MemoryInfo Class

This class is used to retrieved various statistics about the memory mappings for this process.

See Also: Debug+MemoryInfo

Syntax

[Android.Runtime.Register("android/os/Debug$MemoryInfo", DoNotGenerateAcw=true)]
public class Debug.MemoryInfo : Object, IParcelable, IDisposable

Remarks

This class is used to retrieved various statistics about the memory mappings for this process. The returns info broken down by dalvik, native, and other. All results are in kB.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.OS.Debug.MemoryInfo are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
static
CreatorIParcelableCreator.
DalvikPrivateDirtyInt32. The private dirty pages used by dalvik.
DalvikPssInt32. The proportional set size for dalvik.
DalvikSharedDirtyInt32. The shared dirty pages used by dalvik.
NativePrivateDirtyInt32. The private dirty pages used by the native heap.
NativePssInt32. The proportional set size for the native heap.
NativeSharedDirtyInt32. The shared dirty pages used by the native heap.
OtherPrivateDirtyInt32. The private dirty pages used by everything else.
OtherPssInt32. The proportional set size for everything else.
OtherSharedDirtyInt32. The shared dirty pages used by everything else.
[read-only]
TotalPrivateCleanInt32.
[read-only]
TotalPrivateDirtyInt32. Return total private dirty memory usage in kB.
[read-only]
TotalPssInt32. Return total PSS memory usage in kB.
[read-only]
TotalSharedCleanInt32.
[read-only]
TotalSharedDirtyInt32. Return total shared dirty memory usage in kB.
[read-only]
TotalSwappablePssInt32.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
static
GetOtherLabel(Int32) : String
GetOtherPrivateDirty(Int32) : Int32
GetOtherPss(Int32) : Int32
GetOtherSharedDirty(Int32) : Int32
ReadFromParcel(Parcel)
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.