Memory footprint of a Java process by Andrei Pangin
Does JVM option '-Xmx4g' mean that the process will consume up to 4 GB RAM? Certainly not. What else can take virtual memory and how much of it?
The question becomes especially important when running Java in a shared environment or in a container with limited resources. Excessive memory consumption may occur everywhere: from the application code and the libraries to the Java virtual machine and the operating system. While Java memory leaks are usually easy to discover from a heap dump, native memory leaks can be quite confusing.
During this session we will discuss what structures contribute to the JVM footprint. We will study the real cases of native memory leaks and explore the tools useful in memory allocation analysis.
Andrei Pangin leads the development of Odnoklassniki social network, specializing in high performance Java servers. He previously worked on HotSpot JVM, which became his favorite topic and area of expertise. Andrei is also known as top #JVM answerer on Stack Overflow and the author of Async-profiler.
Видео Memory footprint of a Java process by Andrei Pangin канала Devoxx
The question becomes especially important when running Java in a shared environment or in a container with limited resources. Excessive memory consumption may occur everywhere: from the application code and the libraries to the Java virtual machine and the operating system. While Java memory leaks are usually easy to discover from a heap dump, native memory leaks can be quite confusing.
During this session we will discuss what structures contribute to the JVM footprint. We will study the real cases of native memory leaks and explore the tools useful in memory allocation analysis.
Andrei Pangin leads the development of Odnoklassniki social network, specializing in high performance Java servers. He previously worked on HotSpot JVM, which became his favorite topic and area of expertise. Andrei is also known as top #JVM answerer on Stack Overflow and the author of Async-profiler.
Видео Memory footprint of a Java process by Andrei Pangin канала Devoxx
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How computer memory works - Kanawat SenananBeyond ByteBuffers by Brian GoetzThe JVM and Docker. A good idea? by Christopher BateyWhat is virtual memory? – Gary explainsJava classpath tutorial (ClassLoader, NoClassDefFoundError, JVM, javac, javap -c, java -cp, jar cvf)7 Cryptography Concepts EVERY Developer Should KnowWhy We Hate Java Serialization And What We're Doing About It by Brian Goetz & Stuart MarksApprendre le Java #20 Design Pattern - Fluent Pattern BuilderQuickly Analysing A Heap Memory Leak by Jack ShiraziA Simple Approach to the Advanced JVM ProfilingHow to create a child process in nodejs (exec, execFile and spawn)Memory & Storage: Crash Course Computer Science #19Collections Corner Cases by Stuart MarksJava Performance Puzzlers by Douglas HawkinsEverything I Ever Learned About JVM Performance Tuning at Twitter (Attila Szegedi, Hungary)Quarkus why, how and what by Emmanuel BernardBootiful Testing by Josh LongJinkubator #40 - JVM Internals - Jakub KubryńskiUsing FlameGraphs To Illuminate The JVM by Nitsan Wakart