Skip to Content
Java Memory Management
book

Java Memory Management

by Maaike van Putten, Dr. Seán Kennedy
November 2022
Intermediate to advanced
146 pages
3h 16m
English
Packt Publishing
Content preview from Java Memory Management

6

Configuring and Monitoring the Memory Management of the JVM

So far, we have looked at the different areas of memory and how it is deallocated, but we have yet to look at optimizing the way a Java Virtual Machine (JVM) does this. The approach that the JVM uses to manage memory can be configured in different ways.

There is not one obvious way to configure the JVM though. The best configuration really depends on the application and the requirements. Getting the best configuration will improve the performance of your application and minimize the memory requirements. Monitoring performance and memory will help discover problems before users do.

In this chapter, we’re going to have a look at how to configure the JVM and monitor memory management. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Concurrency in Practice

Java Concurrency in Practice

Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes, Doug Lea
Troubleshooting Java

Troubleshooting Java

Laurentiu Spilca
The Well-Grounded Java Developer, Second Edition

The Well-Grounded Java Developer, Second Edition

Benjamin Evans, Martijn Verburg, Jason Clark
Java Coding Problems

Java Coding Problems

Anghel Leonard

Publisher Resources

ISBN: 9781801812856Supplemental Content