~/talk

Troubleshooting Memory Problems in Java Applications

Talkat Oracle OpenWorld 2017 · 2017-10-01..10-05· [java]
slides:none on file

Steps: confirm misconfiguration versus leak by watching full GCs and heap growth, then collect GC logs, heap dumps and histograms. Tools used include -Xmx/-Xms and -XX:+HeapDumpOnOutOfMemoryError, jmap/jcmd/JConsole/Java Mission Control to gather data, and Eclipse MAT to find retainers (example: byte[] instances totaling ~406 MB, many 1024-byte arrays held by a long‑lived Vector). Watch GC pauses (one example shows a 50s full GC and back‑to‑back full GCs), monitor compressed class space (1 GB default) and use NMT for native leaks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Out of Memory Exception
  3. 1:45Unexpected Memory Growth
  4. 2:30Long GC pauses
  5. 3:00Agenda
  6. 3:22Memory Issues
  7. 7:22GC Log Options
  8. 8:36Excessive GCs
  9. 8:50Long GCs
  10. 9:10Heap Dump
  11. 9:51JConsole
  12. 10:15Java Mission Control
  13. 13:46Heap Histogram
  14. 15:48GC Viewer Tool
  15. 18:22Explicit GC
  16. 19:58Heap Dump Analysis
  17. 21:55Permanent Generation Meta Space Issues
  18. 22:42Configure Permanent Generation
  19. 23:50Compressed Class Space
  20. 41:48References
~/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.