~/talk

Deep Dive: Spark Memory Management

Talkat Data By the Bay 2016 · 2016-05-16..05-20· [data-engineering]
name:Andrew Or
links:none on file
slides:none on file

Covers how Spark actually divides JVM heap between execution and storage and the change to unified memory management (Spark 1.6) that lets execution borrow unused cache space to avoid unnecessary spills. Describes dynamic per-task sharing that grows with active tasks to mitigate stragglers and cooperative spilling between operators so a sorter can steal pages from an aggregator. Explains Tungsten optimizations: compact byte rows, cache-aware layouts and optional off‑heap allocation to reduce GC and I/O.

AI-written summary · about

  1. 0:00Introduction to Spark
  2. 3:55Memory Management Challenges
  3. 6:49Execution vs Storage Memory
  4. 9:29Static Allocation Model
  5. 12:13Unified Memory Management
  6. 16:10Task-Level Arbitration
  7. 19:21Operator-Level Arbitration
  8. 23:56Project Tungsten Overview
  9. 28:32Q&A and Closing
~/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.