Android Studio 3.2: Can't find the Analyzer Tasks pane when opening an HPROF dump file

2.4k views Asked by At

I'm trying to analyze an app for memory leaks using the Android Profiler. Most online tutorials (and answers on this site) say to create a heap dump, save it with the .hprof extension, and then open this in Android Studio. I'm able to do that but cannot find the "Analyzer Tasks" pane that these tutorials reference, like in the screenshot below:

Example screenshot

I've tried looking everywhere. This is all I see on my end:

What I see

Where can I find it?

2

There are 2 answers

3
AudioBubble On BEST ANSWER

It seems that the Analyzer Tasks pane has been removed in the last versions of Android Studio.

You can either download an old version or use another software to analyze heap dumps. For that there is Mat or YourKit. There is probably other software on the market for that.

To detect memory leaks, I can only advice you to use Leak Canary. It is a tool that will automatically look for memory leaks in the app at runtime by dumping the heap and analyzing it.

Feel free to ask if you have questions on those tools.

Have a nice day.

0
Doni On

FYI, This is tracked on issue tracker: https://issuetracker.google.com/issues/117363840

From google engineer: Thanks for the feedback. It is the limitation of our tool at this moment, but it's on our backlog to address in the future.