~/talk

We Must Save the Last Giga of RAM

TalkinFrenchat Voxxed Days Luxembourg 2024 · 2024-06-20..06-21· [web-performance]
links:none on file
links:none on file
slides:none on file

A real incident response where a production Java system hit 96 GB RAM during year-end batch runs processing millions of letters. The team used Eclipse Memory Analyzer, JFR recordings, and pg_stat_statements to capture heap dumps and query stats, discovered 300 metadata attributes per record while only 12 were needed (saving ~1 GB), fixed N+1 queries with projected SELECTs and switched to streaming results with tuned fetchSize (saving ~3 GB), and removed unnecessary collections to reclaim a total of ~4 GB; the fixes were validated in production using streaming and closed projections.

AI-written summary · about

  1. 0:00Introduction
  2. 14:14JVM analysis tools
  3. 31:15PostgreSQL optimization
  4. 41:31Streams and cache optimization
  5. 43:57Summary
  6. 44:39Q&A
~/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.