Daniel zhao
Daniel zhao

Reputation: 21

How to do find memory leaks for Android application with valgrind

I wanna use valgrind to find memory leaks on android platform ,especially,for the java code. Although i know the tools usually running for C/C++ code.

With ICS , the valgrind can be compiled smoothlty, but I can not run successful with a java application. And i do not how to run it with begin

Please tell me how to use valgrind on android platform,does it prowerful as it runs on Linux.

Upvotes: 1

Views: 2148

Answers (1)

Andy Tai
Andy Tai

Reputation: 11

Valgrind supports code written with the Android NDK in C and C++; it does not work for Java code which runs above a VM layer.

See Valgrind README.android for more info.

Upvotes: 1

Related Questions