Search code examples
androidandroid-studiomemory-profiling

Android studio's allocation tracker graphical view


According the Android's blog: http://android-developers.blogspot.co.il/2015/07/get-your-hands-on-android-studio-13.html

There should be a new visual way to diagnose memory allocations (AKA sunburst view). After updating to Studio 1.3 we can't find any way to switch the memory allocator view and nothing new in DDMS's memory profiler as well.

How can we access this new view?


Solution

    1. At the bottom of the android studio screen, click "Android Monitor".
    2. Switch to the "Memory" tab (alongside the default logcat tab)
    3. Click start recording (last icon on the left side).
    4. Click stop recording.

    It will take a few seconds to analyse and eventually load the memory view with options to select between available charts and views