Challenge: Exploring Allocation Tracking
Challenge: Exploring Allocation Tracking
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).
Figure 4.10 Starting the Allocation Tracker
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).