diff --git a/docs/html/images/tools/as-allocstart.png b/docs/html/images/tools/as-allocstart.png new file mode 100644 index 0000000000000..b9c770a507650 Binary files /dev/null and b/docs/html/images/tools/as-allocstart.png differ diff --git a/docs/html/images/tools/as-allocstop.png b/docs/html/images/tools/as-allocstop.png new file mode 100644 index 0000000000000..8271161221815 Binary files /dev/null and b/docs/html/images/tools/as-allocstop.png differ diff --git a/docs/html/images/tools/as-alloctrack.png b/docs/html/images/tools/as-alloctrack.png new file mode 100644 index 0000000000000..4280f0264490d Binary files /dev/null and b/docs/html/images/tools/as-alloctrack.png differ diff --git a/docs/html/sdk/installing/studio-debug.jd b/docs/html/sdk/installing/studio-debug.jd index 7e2efe3673640..2e3e137be0c62 100644 --- a/docs/html/sdk/installing/studio-debug.jd +++ b/docs/html/sdk/installing/studio-debug.jd @@ -19,6 +19,7 @@ page.title=Debugging with Android Studio
Figure 7. The Variables view in the Debug tool window.
+Android Studio lets you track objects that are being allocated on the Java heap and see which +classes and threads are allocating these objects. This allows you to see the list of objects +allocated during a period of interest. This information is valuable for assessing memory usage +that can affect application performance.
+ +To track memory allocation of objects:
+ +
to open the Android DDMS
+tool window.

Android Studio shows the objects that the system allocated with the following information:
+ +
+Figure 8. Object allocation tracking in Android Studio.
+ +Even if your application does not generate runtime errors, this does not mean it is free of