Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Android Studio has a memory analyzer tool like MAT in Eclipse?

Eclipse has a powerful memory analyzer tool: MAT.

Does Android Studio have such a powerful tool, too ?

p.s. I have found a "Allocation Tracking" in the Android DDMS page. And I also know the "Memory Monitor".

But they seem very simple. Take "Memory Monitor" for example, it is only a wave graph. I don't even know which object are still connecting with the GC root.

like image 896
snwr Avatar asked Mar 11 '15 07:03

snwr


2 Answers

With 1.3, they have integrated heap viewer in studio.

Android studio 1.3 preview

like image 85
Akshat Avatar answered Sep 21 '22 01:09

Akshat


Android Studio 3.0 preview has much a much better tool, comparable to MAT, that also offers CPU and network activity profiling.

https://developer.android.com/studio/preview/features/android-profiler.html

like image 30
kodi Avatar answered Sep 23 '22 01:09

kodi