On 8月6日, 上午1時41分, fadden <fad...@android.com> wrote:
> On Aug 5, 5:16 am, clikx <click...@gmail.com> wrote:
>
> > Is there any tool available to find memoryleakin native code?
> > Is there any tool like 'memprof' or 'mtrace' ported to work in Android
> > platform?
>
> 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.

I am using android-sdk-windows-1.5_r2, instead of linux. I did not
find the file ddms.cfg. So I added "native=true" to my ddms.bat.
Howver, I was not able to see the "Native Heap" tab in the ddms UI.
Did I miss something important?

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to