Solving Memory Leaks in the JVM by Kirk Pepperdine

Solving Memory Leaks in the JVM by Kirk Pepperdine

Devoxx

54 года назад

6,357 Просмотров

One of the more important aspects of the Java Virtual Machine (JVM) is it’s managed memory subsystem. It’s an amazing piece of technology in that it allows developers to allocate a seemingly infinite amount of memory. The reality is that under the covers, the JVM is working on reclaiming all memory that is no longer in use. If the JVM is unable to recover memory, our application will fail with a dreaded OutOfMemoryError.

This session will cover several common scenarios that can cause the JVM to fail with an OutOfMemoryError. We’ll explore tooling and methods that can be used to diagnose the cause of an OutOfMemoryError.

Finally, we’ll go toe to toe with apps suffer from an OutOfMemoryError for different reasons.

Topics that will be covered include;

Overview of Java heap
Allocations in Java heap
GC basics with Mark and Sweep
Normal life cycle of a Java object
Common causes of OutOfMemoryError
Anatomy of a memory leak
Tools for detecting memory leaks

Kirk has been working in high performance and distributed computing for nearly 20 years. Initially Kirk was architecting, developing, and tuning applications running on Cray and other high performance computing platforms. He now specialises in Java, where he works in all aspects of performance and tuning in each phase of a project life cycle.

Kirk was recognised as a Java Champion in 2006 in recognition of his outstanding contributions to the Java community.

Тэги:

#DevoxxBE #DevoxxBE19
Ссылки и html тэги не поддерживаются


Комментарии: