Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of Java process memory footprint in this 52-minute Devoxx conference talk. Delve into the misconception that JVM option '-Xmx4g' limits process RAM consumption to 4 GB and uncover other factors contributing to virtual memory usage. Gain crucial insights for running Java in shared environments or resource-limited containers. Examine various sources of excessive memory consumption, from application code and libraries to the Java virtual machine and operating system. Learn to differentiate between Java memory leaks, easily discoverable through heap dumps, and the more elusive native memory leaks. Investigate the structures influencing JVM footprint, analyze real-world cases of native memory leaks, and discover valuable tools for memory allocation analysis. Benefit from the expertise of Andrei Pangin, lead developer at Odnoklassniki social network, former HotSpot JVM developer, top JVM answerer on Stack Overflow, and creator of Async-profiler.