~/talk

How to trace a Java Memory Leak

Talkat Voxxed Days Amsterdam 2026 · 2026-04-01..04-02· [java, observability]
slides:none on file

Covers concrete debugging steps: which JVM flags to enable, how to ensure a heap dump survives Kubernetes, and loading dumps into VisualVM, IntelliJ or Eclipse MAT; demonstrates analysis of 10 real leaks pulled from a repository of heap dumps from 150+ companies, and shows root causes: ThreadLocal retention, non‑static inner classes holding parents, high‑cardinality micrometer tags in Spring Boot 2, Hibernate first‑level cache and self‑submit executor queues. Provides an automated MCP workflow, a downloadable repo, and a €10 bounty for new leaks not yet catalogued.

AI-written summary · about

  1. 0:00Introduction
  2. 2:08Out of memory basics
  3. 6:09Heap dump importance
  4. 6:53Heap dump analysis tools
  5. 8:21Shallow vs retained size
  6. 11:33Matrix cardinality leak
  7. 16:30Spring Boot metric tagging
  8. 17:17Hibernate streaming query
  9. 20:07Memory Analyzer tool
  10. 22:20Hibernate first level cache
  11. 25:13DIY cache dangers
  12. 27:44Cache hit ratio monitoring
  13. 28:04Cache key mutation issue
  14. 31:55HashCode equals pitfalls
  15. 36:33Static inner class leak
  16. 38:45Anonymous class reference
  17. 44:10JSON parsing big decimal
  18. 48:52Kafka popcorn downtime
  19. 49:58Sublist memory leak
  20. 57:21Thread local leak
  21. 1:03:23ThreadLocal removal pattern
  22. 1:05:30ThreadLocal in legacy libs
  23. 1:09:24Shutdown hook leak
  24. 1:11:33CompletableFuture pitfalls
  25. 1:16:18Thread pool queue limits
  26. 1:19:36Fixed thread pool solution
  27. 1:21:44Async annotation dangers
  28. 1:25:09Self-submit deadlock
  29. 1:27:17Virtual thread deadlock
  30. 1:30:07Key takeaways summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.