notes/pl/java/tools/quality/memory/heap-dump.txt
ihar_hancharenka 21a741160a m
2025-10-16 11:50:31 +03:00

22 строки
990 B
Plaintext

2025
Devoxx - Java Memory Leaks by Victor Rentea 52:00 of 2:47:21
https://www.youtube.com/watch?v=-0vkHxlGlOU
https://victorrentea.io/...-slides
! 9:00 important for avoiding hanging up
! -XX:+ExitOnOutOfMemoryError
! 10:00 select large object and "GC Root", stack-trace
! 27:40 "Dominators by Retained Size" -> "Compute Retained Sizes"
! 28:30 Shallow Size, Common Pool for string
! 29:30 Retained Size - how much memory would free up if A is removed
! 30:40 IntelliJ Idea Ultimate Profiler -> HeapDump analysis
! 36:30 Sort by "Retained" column in VisualVM
! 50:00 ThreadLocal with Virtual Threads
2022
https://huseyinbabal.com/2022/08/14/java-heap-dump-analysis-with-examples/
https://habr.com/ru/companies/timeweb/articles/719434/
2017
https://blog.heaphero.io/2017/10/13/how-to-capture-java-heap-dumps-7-options/
2007
Programmatic HeapDump
https://blogs.oracle.com/sundararajan/programmatically-dumping-heap-from-java-applications