~/talk

Optimal Heap Limits for Reducing Browser Memory Use

Talkat OOPSLA 2022 · 2022-12-05..12-10· [web-performance]
links:none on file
slides:none on file

Proposes a concrete formula: set each heap limit to live size plus extra proportional to the square-root heap limit of live size, which provably minimizes total memory for any allowed GC time and coordinates multiple heaps with no inter-heap communication. Implements the rule as a V8 prototype (≈200 lines of code that measure allocation and scan rates), removing about 250 lines of ad-hoc idle-GC code. Evaluated on real sites (Twitter, CNN, Facebook, Fox, ESPN) and reports ~16.0% memory reduction and up to 30.0% GC-time improvement on heavy benchmarks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:49Space Time Tradeoff Curve
  3. 5:00Mathematical Model
  4. 8:31Everyone Else
  5. 10:40Implementation
  6. 13:46Evaluation
~/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.