DeviceStatus.DeviceTotalMemory Property
July 26, 2012
Returns the physical RAM size of the device in bytes.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
The value returned is less than the actual amount of device memory, but can be used to help determine memory consumption requirements.
For more information about the DeviceStatus API, see Device Status for Windows Phone.