How to enable Heap updates on my android client
AndroidAndroid Problem Overview
Under DDMS
, there is a HEAP
tab, and then I click my android application under 'Devices'.
But it said:
Heap updates are NOT ENABLED for this client
How can I enable Heap update for my android application?
Android Solutions
Solution 1 - Android
On the devices tab, there are a bunch of icons starting with a green bug. To the right of that is the "Update Heap: button which looks like a green cylinder that is half full. Press that button and the heap tab should be enabled. Click "Cause GC" to populate the Heap tab.
Solution 2 - Android
It is worth to mention one thing, you have to put in android:debuggable="true"
in the AndroidManifest.xml
(under Application tag) in order to see the process list appear under the available device/simulator (in DDMS). Even though you are not trying to run your application in debug mode.