5

I am trying to find a way to find memory leaks in native code on Android apps. I have found others answers like How to Find memory leaks from native code in android, but these solutions aren't applicable post Android 18 as the DDMS no longer supports the "Native Heap" tab.

So if anyone can suggest a solution, it will be great help!

Community
  • 1
  • 1

2 Answers2

1

ASAN is available in the NDK: https://github.com/google/sanitizers/wiki/AddressSanitizerOnAndroid

Dan Albert
  • 9,365
  • 2
  • 34
  • 76
0

https://android-arsenal.com/details/1/1775 here you go. I use this. Installation is already inside the link. Sometimes it is freezing when dumping information but still good I think.

legend12345
  • 152
  • 2
  • 14