~/talk

A Healthy diet for your Java application

Talkat Voxxed Days Luxembourg 2023 · 2023-06-21..06-22· [java, web-performance]
links:none on file
slides:none on file

Diagnoses OutOfMemory by insisting on heap dumps and analyzing GC roots in VisualVM, showing byte[] and object arrays often hold 90%+ of retained size. Finds concrete causes: mutable or wrongly implemented equals/hashCode bug that inflates HashMap keys, non-static inner classes that retain huge outer objects, and thread-local retention that never unset values on pooled threads. Demonstrates fixes and rules, and reports memory drop from ~3.0 GB to ~1.2 GB after cleanup.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:14Why care about Java memory
  3. 5:27Identifying memory problems
  4. 9:43Measuring and monitoring memory
  5. 13:36Stack traces vs heap dumps
  6. 15:01Analyzing heap dumps with VisualVM
  7. 17:48Static fields and garbage collection
  8. 22:39Equals and hashCode contract
  9. 29:20Inner classes and memory leaks
  10. 33:37Thread locals and memory
  11. 35:25Memory leaks vs memory footprint
  12. 40:25Preventing future memory issues
  13. 44:38Healthy diet summary
  14. 45:22Outcome of the investigation
  15. 47:29Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.