Skip to main content
  • 1186 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Hervé Guihot

About this chapter

Cite this chapter

Guihot, H. (2012). Using Memory Efficiently. In: Pro Android Apps Performance Optimization. Apress. https://doi.org/10.1007/978-1-4302-4000-6_4

Download citation

Publish with us

Policies and ethics