Memory Reallocation with Polylogarithmic Overhead
Abstract
The Memory Reallocation problem asks to dynamically maintain an assignment of given objects of various sizes to non-overlapping contiguous chunks of memory, while supporting updates (insertions/deletions) in an online fashion. The total size of live objects at any time is guaranteed to be at most a 1-ϵ fraction of the total memory. To handle an online update, the allocator may rearrange the objects in memory to make space, and the overhead for this update is defined as the total size of moved objects divided by the size of the object being inserted/deleted.
Our main result is an allocator with worst-case expected overhead polylog(ϵ -1 ). This exponentially improves the previous worst-case expected overhead O(ϵ -1/2 ) achieved by Farach-Colton, Kuszmaul, Sheffield, and Westover (2024), narrowing the gap towards the Ω(log ϵ -1 ) lower bound. Our improvement is based on an application of the sunflower lemma previously used by Erdős and Sárközy (1992) in the context of subset sums.
Our allocator achieves polylogarithmic overhead only in expectation, and sometimes performs expensive rebuilds. Our second technical result shows that this is necessary: it is impossible to achieve subpolynomial overhead with high probability.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Knapsack with Small Items in Near-Quadratic Time cites On Near-Linear-Time Algorithms for Dense Subset Sum
- Knapsack with Small Items in Near-Quadratic Time cites Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results cites Knapsack with Small Items in Near-Quadratic Time
- Monotone Circuit Complexity of Matching cites Improved bounds for the sunflower lemma
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity Results cites On Near-Linear-Time Algorithms for Dense Subset Sum
Builds on14
- Improved bounds for the sunflower lemmaRyan Alweiss, Shachar Lovett, Kewen Wu, Jiapeng ZhangSTOC 2020 · 36 citations
- On Near-Linear-Time Algorithms for Dense Subset SumKarl Bringmann, Philip WellnitzSODA 2021 · 19 citations
- Faster Algorithms for Bounded Knapsack and Bounded Subset Sum Via Fine-Grained Proximity ResultsLin Chen, Jiayi Lian, Yuchen Mao, Guochuan ZhangSODA 2024 · 10 citations
- Knapsack with Small Items in Near-Quadratic TimeKarl BringmannSTOC 2024 · 8 citations
- Monotone Circuit Complexity of MatchingBruno Cavalar, Mika Göös, Artur Riazanov, Anastasia Sofronova et al.STOC 2026 · 7 citations
Related papers
- Strongly History-Independent Storage Allocation: New Upper and Lower BoundsWilliam KuszmaulFOCS 2023 · 7 citations
- Improved Fully Dynamic Submodular Maximization Under Matroid ConstraintsYiwei Gao, Jialin Zhang, Zhijie ZhangAAAI 2026
- jwmalloc: A Verified Memory Allocator for Mobile DevicesJiawei Wang, Ming Fu, Ruixian Wang, Chao Xu et al.OSDI 2026
- Nearly Optimal List LabelingMichael A. Bender, Alex Conway, Martín Farach-Colton, Hanna Komlós et al.FOCS 2024 · 1 citation
- On the complexity of dynamic submodular maximizationXi Chen, Binghui PengSTOC 2022 · 6 citations
