August 2017
Beginner to intermediate
220 pages
4h 50m
English
Fully understanding the impact our app has on a device's CPU is just one consideration. As developers, we have to create apps without knowing what the memory capabilities of our target devices are, and, furthermore, we have no way of knowing what other uses these devices are making of their memory at the time our app is running.
To assist us in planning memory use and avoiding leaks, Android Studio comes equipped with a powerful memory profiler. This allows us to view the Java heap and record memory allocation. Provided you have advanced profiling enabled, the advanced memory profiler can be opened in the same fashion as the processor profiler by clicking anywhere on the live timeline.
As the ...
Read now
Unlock full access