Just wondering if someone knows how to find out memory leaks in native code from android. Google search gives lot of solution, but none of them is full. Please let me know if anybody knows how to do this.
Really useful information I got to find the leaks in native code.
- add nativetrue in ~/.android/ddms.cfg
restart the framework, start DDMS, you’ll see a tab native-heap
In native-heap, you can see the allocations by native code.
For more information click here
Answered By – Anil Arrabole