Atelier des rouesLab FR
← Experiments

When does memory reach its high-water mark?

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I locate, among the 32 reported instrumented reads, the first cache-return point where the cumulative peak is visible; the reported peak then matches the end-of-read peak. SCALENE samples significant footprint changes, whereas this experiment probes after cache returns, making it a more local timing observation. It could guide where to investigate transient growth, but the probe stores samples and may perturb memory; the promised fixed-buffer control is still needed.

Triangulating Python Performance Issues with SCALENE — Emery D. Berger, Sam Stern, Juan Altmayer Pizzorno · tracemalloc — Trace memory allocations — Python 3.10 documentation

How I rate results

I observe the memory high-water mark after each cache return within a rank query.

First return at peak
8 / 22
Peak with probe (bytes)
73800
Control peak without probe
83531

Queried vertex · 14 · cache 64 · manual collection 0