Skip to Content
Platform.Ontology

RAM size

Reads total memory in bytes with no prompt.

Gets silentlyDevice detailsHardware capacityAndroid and iPhoneWhen the app opensWhile you use it

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

AndroidiPhone
StatusSupportedSupported
First versionAndroid 4.1 (API 16)iOS 2.0
Permission or entitlementNot listednone
Protection levelnonenone
How access is grantednonenone
What the user seesNot listedNot listed
How long it lastsNot listedNot listed
How to take it backNot listedNot listed
Store policyNone listedNone listed
APIActivityManager.MemoryInfo.totalMem (API 16), getMemoryClass(), isLowRamDevice()Exact bytes; iPhones range about 1 to 12 GB
NotesExact total bytes; app heap class 128 to 512 MBNone

Data you get

What comes back: Total RAM bytes
Shape: integer
How often: Static

FieldTypeUnitRangePrecision
total_bytesintegerbytes1 GB to 24 GBexact

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

TypeExampleApps
gamesA big game loads high detail textures on a 12 GB phone and small ones on a 3 GB phone.None named
creativeA video editor limits clip length on low memory phones so it does not crash.None named
socialA feed app keeps fewer videos ready in memory on small phones.None named
ar-vrAn AR app picks a lighter 3D model on phones with little memory.None named
shoppingA store app guesses your phone's price tier to decide which ads to show.None named
adsAn 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

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits3Rough identifying entropy, when known

History

  • 2012-07, Android 4.1 (API 16): MemoryInfo.totalMem added
  • 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

Sources

How well checked: Inferred from related behavior.

On this page