RAM size
Reads total memory in bytes with no prompt.
In one line
Can see how much memory your phone has, down to the exact byte, with no prompt
Reads total memory in bytes with no prompt.
Maps almost directly to device price tier (2 to 16 GB) and is a stable fingerprint bit. Apps use it to size caches.
What it can and can't do
What the user does: Nothing. The app checks when it starts to choose how heavy to run
It can
- See total memory in bytes on Android and iPhone
- See the app's Android memory class, about 128 to 512 MB
- Check if your Android phone is a low memory device
It cannot
- Use more memory than the system allows for the app
- See what other apps are using
- Tell who you are from the memory size alone
How it differs between platforms: Android also shows a memory class and a low memory flag. iPhones range from about 1 to 12 GB.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Supported |
| First version | Android 4.1 (API 16) | iOS 2.0 |
| Permission or entitlement | Not listed | none |
| Protection level | none | none |
| How access is granted | none | none |
| What the user sees | Not listed | Not listed |
| How long it lasts | Not listed | Not listed |
| How to take it back | Not listed | Not listed |
| Store policy | None listed | None listed |
| API | ActivityManager.MemoryInfo.totalMem (API 16), getMemoryClass(), isLowRamDevice() | Exact bytes; iPhones range about 1 to 12 GB |
| Notes | Exact total bytes; app heap class 128 to 512 MB | None |
Data you get
What comes back: Total RAM bytes
Shape: integer
How often: Static
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
total_bytes | integer | bytes | 1 GB to 24 GB | exact |
Technical limits
- Static per device model, so low entropy within a model
The story
What it is
An app can see how much memory your phone has.
For you
You never see it. It hints at how fast and costly your phone is. Apps use it to decide how much to keep ready in memory.
For makers
Makers size their caches and pick quality settings from it. It maps closely to device price and is a stable fingerprint detail.
Where you see it
| Type | Example | Apps |
|---|---|---|
| games | A big game loads high detail textures on a 12 GB phone and small ones on a 3 GB phone. | None named |
| creative | A video editor limits clip length on low memory phones so it does not crash. | None named |
| social | A feed app keeps fewer videos ready in memory on small phones. | None named |
| ar-vr | An AR app picks a lighter 3D model on phones with little memory. | None named |
| shopping | A store app guesses your phone's price tier to decide which ads to show. | None named |
| ads | An ad firm adds memory size to a fingerprint. | None named |
Risks
- Hints at what you can afford
- Adds to a fingerprint
Android and iPhone in short
- Android: Reads total memory with no prompt.
- iPhone: Reads total memory with no prompt.
Good uses and abuse
Legitimate uses
- Choose image and model sizes
Known abuse
- Fingerprint
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 3 | Rough identifying entropy, when known |
History
- 2012-07, Android 4.1 (API 16): MemoryInfo.totalMem added
Related capabilities
Related
- CPU cores and ABI. Can see how many CPU cores your phone has and what chip type, with no prompt
Same idea on the web
- Approximate device RAM. Can see roughly how much RAM you have, rounded and capped at 8 GB
Sources
How well checked: Inferred from related behavior.