5

Possible Duplicate:
What Android tools and methods work best to find memory/resource leaks?

I want to do memory and CPU time profiling of my Android application. And my application is using C source file also.So I want to do profiling on android level as well as ndk level.As there is Vtune software which is used to do profiling of windows application. Is there any other software like Vtune which will be used to do profiling of android application? Which can show which functions is taking max CPU time and memory. i have used MAT(Memory Analyser Tool) which is showing Memory Leak in my Android application but I am not able to find out where memory leak is happening. Can any body please help to know which tool is very efficient to do profiling of android application.

Thanks in Advance

Community
  • 1
  • 1
geeta
  • 689
  • 3
  • 17
  • 33
  • See http://stackoverflow.com/questions/4328906/android-software-ndk-native-c-code-profiling-on-actual-android-phones – Keith Aug 24 '12 at 14:01

2 Answers2

1

You can use DDMS http://developer.android.com/guide/developing/debugging/ddms.html, Open it in eclipse and generate a heap dump to view it in Eclipse memory analyzer.

Rishav Rastogi
  • 15,484
  • 3
  • 42
  • 47
1

I think MAT is a tool ment for presicely that purpose, if you need help with how to use hpof files and MAT the following liks might be useful,

MAT link1

MAT link2

I hope it helps..

R.daneel.olivaw
  • 2,681
  • 21
  • 31