MemoryInfo
10/22/22Less than 1 minute
device.MemoryInfo
Low-memory snapshot from device.memoryInfo (same general shape as Android’s ActivityManager.MemoryInfo).
Table of contents
Properties
Properties
availMem
availMem:number
Approximate free RAM in bytes available to the system.
lowMemory
lowMemory:boolean
true when the system considers itself in a low-memory state (same signal Android uses to start trimming background work).
threshold
threshold:number
When availMem drops below this value (bytes), the framework treats the device as low on memory (see lowMemory).
totalMem
totalMem:number
Total RAM on the device in bytes (as reported by the platform).
