What is 'total physical memory' measured in?
leroy30
Posted on
Sep 29 2014
I'm looking at total physical memory and it's saying 30220256 but I can't seem to work out what units that is in. At first I assumed KB so I did a conversion and it came out at 30gb which is way off for the Galaxy Ace 3 (4GB HDD, 1GB RAM).
Need to make sense of this! It's saying 2774784 physical memory available but I don't know if that's bytes, kilobytes, or what?
Also does 'physical memory' refer to RAM or DISK? Because in Android it seems to refer to disk space as memory :/
Callum
Posted on
Sep 29 2014
Hi Leroy,
The data we have available here is from Java.Lang.Runtime.GetRuntime(). In particular, totalMemory() is displayed as 'Total Physical Memory', and is defined as the total space reserved for the JVM (free + used). 'Available Physical Memory' is set to freeMemory() which is the size of allocated space ready for new objects in the JVM. Both measurements are in bytes and are as reported by the runtime.
leroy30
Posted on
Sep 29 2014
Thanks Callum; that explains it!