您的位置:首页 > 移动开发 > Android开发

Howto find native code memory leak in Android

2011-10-26 14:12 597 查看

Howto find native code memory leak in Android

If you have the right kind of build on the phone, you can replace /

system/lib/libc.so with /system/lib/libc_debug.so and restart the

framework. Add "native=true" to your ~/.android/ddms.cfg, and start

the stand-alone version of DDMS. You should now have a "Native Heap"

tab that you can use to examine native allocations.


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: