Buy New
$38.99$38.99
FREE delivery Sunday, October 11
Ships from: Amazon.com Sold by: Amazon.com
Used - Very Good
$30.61$30.61
FREE delivery Sunday, October 11 on orders shipped by Amazon over $35
Ships from: Amazon Sold by: TGDBooks
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Java Memory Management: A comprehensive guide to garbage collection and JVM tuning
Purchase options and add-ons
Improve application performance by tuning, monitoring and profiling both the garbage collector and JVM
Key Features
- Understand the different parts of Java memory and the various garbage collectors so you can select your preferred one
- Explore how memory management can help to effectively improve performance
- Learn how to spot and avoid memory leaks to enhance application performance
Book Description
Understanding how Java organizes memory is important for every Java professional, but this particular topic is a common knowledge gap for many software professionals. Having in-depth knowledge of memory functioning and management is incredibly useful in writing and analyzing code, as well as debugging memory problems. In fact, it can be just the knowledge you need to level up your skills and career.
In this book, you'll start by working through the basics of Java memory. After that, you'll dive into the different segments individually. You'll explore the stack, the heap, and the Metaspace. Next, you'll be ready to delve into JVM standard garbage collectors. The book will also show you how to tune, monitor and profile JVM memory management. Later chapters will guide you on how to avoid and spot memory leaks.
By the end of this book, you'll have understood how Java manages memory and how to customize it for the benefit of your applications.
What you will learn
- Understand the schematics of debugging and how to design the application to perform well
- Discover how garbage collectors work
- Distinguish between various garbage collector implementations
- Identify the metrics required for analyzing application performance
- Configure and monitor JVM memory management
- Identify and solve memory leaks
Who this book is for
This book is for all levels of Java professionals, regardless of whether you're a junior or senior developer, a DevOps engineer, a tester, or the system admin of a Java application. If you currently don't have in-depth knowledge of Java memory, garbage collection, and/or JVM tuning, then this book will help you to take your Java skills to the next level.
Table of Contents
- Different Parts of the Java Memory
- Primitives and Objects in Java Memory
- Zooming in on the heap space
- Freeing the Memory with Garbage Collection
- Zooming in On The Metaspace
- Configuring and Monitoring the Memory Management of the JVM
- Avoiding Memory Leaks
- ISBN-101801812853
- ISBN-13978-1801812856
- PublisherPackt Publishing
- Publication dateNovember 25, 2022
- LanguageEnglish
- Dimensions7.5 x 0.35 x 9.25 inches
- Print length146 pages
Customers who bought this item also bought
- Systems Performance (Addison-Wesley Professional Computing Series)PaperbackFREE Shipping by AmazonGet it as soon as Sunday, Oct 11
- Tour of C++, A (C++ In-Depth Series)PaperbackFREE Shipping by AmazonGet it as soon as Monday, Oct 12Only 1 left in stock - order soon.
- Modern Concurrency in Java: Virtual Threads, Structured Concurrency, and BeyondPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Oct 11
- Site Reliability Engineering: How Google Runs Production SystemsPaperbackGet it as soon as Sunday, Oct 18
- Coding Interview Patterns: Nail Your Next Coding InterviewPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Oct 11
Customers also bought or read
- JVM Performance Engineering: Inside OpenJDK and the HotSpot Java Virtual Machine (Developer's Library)
Paperback$54.83$54.83FREE delivery Sat, Oct 31 - Tour of C++, A (C++ In-Depth Series)#1 Best SellerC++ Programming Language
Paperback$38.54$38.54FREE delivery Mon, Oct 12 - Java Performance: In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond
Paperback$38.58$38.58FREE delivery Sun, Oct 11 - Systems Performance (Addison-Wesley Professional Computing Series)#1 Best SellerComputer Performance Optimization
Paperback$57.41$57.41FREE delivery Sun, Oct 11
Editorial Reviews
About the Author
Maaike van Putten is an experienced software developer and Pluralsight, LinkedIn Learning, Udemy, and Bright Boost instructor. She has a passion for software development and helping others get to the next level in their career.
Seán Kennedy is a university lecturer with over 20 years of experience in teaching. He has a PhD in IT and is Oracle-certified in Java at the Professional level (OCP). In his daily work, he teaches Java on a bespoke master’s program for a highly regarded software company. He has a YouTube channel called Let’s Get Certified that teaches Java at all levels and prepares candidates for Java certification. He also has similar courses on Udemy. Outside of work, he enjoys tennis, walking, nature, reading, and TV.
Product details
- Publisher : Packt Publishing
- Publication date : November 25, 2022
- Language : English
- Print length : 146 pages
- ISBN-10 : 1801812853
- ISBN-13 : 978-1801812856
- Item Weight : 9.3 ounces
- Dimensions : 7.5 x 0.35 x 9.25 inches
- Best Sellers Rank: #3,345,986 in Books (See Top 100 in Books)
- #78 in Memory Management Algorithms
- #154 in User Generated Content (Books)
- #3,949 in Web Development & Design Programming
- Customer Reviews:
About the authors

Seán is a University lecturer with over 20 years of experience in teaching. He has a PhD in IT and is Oracle-certified in Java at the Professional level (OCP). In his daily work, he teaches Java on a bespoke Master's programme for a highly regarded software company. He has a YouTube channel called 'Let's Get Certified' that teaches Java at all levels and prepares candidates for Java certification. He also has similar courses on Udemy and Tutorialspoint. Outside of work he enjoys tennis, walking, reading and nature.

Maaike is a software developer and trainer with a passion for learning and boosting the careers of others. She loves to create content to help other software developers (to be) by making videos, writing articles and books. When she's not behind her laptop, she loves to spend time with her family, friends and dog. You'll also catch her reading a lot of educational books when she's offline.
Customer reviews
- 5 star4 star3 star2 star1 star3 star62%22%0%16%0%0%
- 5 star4 star3 star2 star1 star1 star62%22%0%16%0%0%
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on Amazon












![CTS Exam Study Cards: CTS Prep and Practice Test Questions for the Certified Technology Specialist Exam [Full Color Cards]](https://m.media-amazon.com/images/I/41hBOHJ7cZL._AC_SR100,100_QL65_.jpg)