I want to track the native heap in my application.
I opened DDMS from /tools sdk's folder, as I saw in tutorials, and I do see the
"Native Heap" tab.
However when I press the "Update heap" Icon, the native heap is still empty - I don't see
any information there.
Tried that on two devices, one of them is rooted.
How do I solve this problem?
I had faced the same issue and manage to fix using the emulator. I had to put a file in /data called
libc.debug.malloc = 1. Than I had to close and start the emulator again. Probably it could work with the rooted mobile too (I am taking a guess).
May be http://bricolsoftconsulting.com/how-to-enable-native-heap-tracking-in-ddms/ can help... I tried and succeded with rooted phone as well as emulator.