~/talk

Dude, where’s my ram? An adventure in finding a ram thief in starlark land

Talkat BazelCon 2023 · 2023-10-24..10-25
links:none on file
slides:none on file

Synthetic repo with Python and C++ adds two malicious aspects: a memory‑intensive aspect that builds a single 17 MB dependency string and a CPU‑heavy action that allocates during build. Tools tried: bazel info, bazel dump, aquery (Skyframe state), Java heap histograms and Eclipse Memory Analyzer, and Bazel profile (Chrome trace). Heap dump reveals a 17 MB string coming from a configured aspect in a Skyframe executor but Bazel dump and the profiler undercount it; the constructed test reproduces crashes and shows restarts and a memory‑sensitive plateau. Recommended: collect repeated profiles in CI and diff successful vs failing runs.

AI-written summary · about

~/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.