Partager via


ActivityManager.MemoryInfo.TotalMem Property

Definition

The total memory accessible by the kernel.

[Android.Runtime.Register("totalMem")]
public long TotalMem { get; set; }
[<Android.Runtime.Register("totalMem")>]
member this.TotalMem : int64 with get, set

Property Value

Attributes

Remarks

The total memory accessible by the kernel. This is basically the RAM size of the device, not including below-kernel fixed allocations like DMA buffers, RAM for the baseband CPU, etc.

Java documentation for android.app.ActivityManager.MemoryInfo.totalMem.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to