Reputation: 578
I have some heavy tasks in my app so I want to run them only when the phone is not busy or has much free memory. Therefore I want to know how to check if the phone memory is low
Upvotes: 1
Views: 58
Reputation: 102753
There's a property ApplicationCurrentMemoryUsage
in the DeviceStatus
class. Combined with ApplicationMemoryUsageLimit
, this should be enough to tell when you're running low on memory.
Upvotes: 1