The Allocation Tracker tool creates detailed reports for the frequency and number of memory allocation calls in your program and is useful for performance-tuning your app. In the Android Monitor tool window, click the Allocation Tracker button (Figure 4.10).
This will begin recording memory allocations as you interact with your app. Once you have performed the interaction you are profiling, click the button again to stop allocation tracking. This will display the allocation report (Figure 4.11).
The allocation report shows the count of memory allocation events and the size of each in bytes in table form and as a visualization. You can select the report type at the top of the tool window.