How to Find memory leaks from native code in android -


just wondering if knows how find out memory leaks in native code android. google search gives lot of solution, none of them full. please let me know if knows how this.

really useful information got find leaks in native code.

  1. add native=true in ~/.android/ddms.cfg
  2. replace /system/lib/libc.so /system/lib/libc_debug.so
    restart framework, start ddms, you'll see tab native-heap

in native-heap, can see allocations native code.

for more information click here


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -