Atelier des rouesLab FR
Register/AT.EX26.06
Controlled experiment · AT.EX26.06

Predicting memory between collections

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

I treat the forecast comparison as a small calibration test: for capacities 64 and 256, the stated mean absolute errors are 11,061 and 9,170 traced bytes, with divergence after the first collection. This is a concrete limitation for predicting peaks from earlier increments, not evidence of a predictive method that transfers. Tracemalloc measures traced Python blocks, and three new processes on one query pattern leave generalization and RSS untested.

Tomas Kalibera and Richard Jones, “Rigorous Benchmarking in Reasonable Time” · Python 3.10 documentation, “tracemalloc — Trace memory allocations”

How I rate results

Assumptions

I predict peaks by rank from previously measured increments and reset levels. I compare them with the median of three fresh traced processes and time three separate processes.

Result

Across eight reads the mean absolute error is 11,061 bytes at capacity 64 and 9,170 bytes at capacity 256. Errors start after the first collection.

Prior work

Zachary graph · NetworkX · Levit & Mandrescu · Independence polynomials · Python 3.10 · tracemalloc

Next question

I will measure live allocations immediately after collection.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.