Using Memory Efficiently

  • Hervé Guihot


Applications spend a significant part of their time dealing with data in memory. While many developers are aware of the need to try to use as little memory as possible on devices like phones or tablets, not all realize the impact of memory usage on performance. In this chapter, you will learn how choosing the right data type and how arranging your data in memory can boost your application’s performance. Also, we will review a basic yet often overlooked feature of Java: memory management using garbage collection and references.


Garbage Collection Cache Line Instruction Cache Garbage Collector Android Device 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Hervé Guihot 2012

Authors and Affiliations

  • Hervé Guihot

There are no affiliations available

Personalised recommendations