Skip to main content
QUICK REVIEW

[Paper Review] Memory Reallocation with Polylogarithmic Overhead

Ce Jin|arXiv (Cornell University)|Feb 17, 2026
Complexity and Algorithms in GraphsComputer Science0 citations
TL;DR

Introduces a randomized resizable allocator for Memory Reallocation with worst-case expected overhead polylogarithmic in 1/ε, improving prior bounds and nearly matching a logarithmic lower bound.

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 $\mathrm{polylog}(ε^{-1})$. This exponentially improves the previous worst-case expected overhead $ ilde 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.

Motivation & Objective

  • Motivate the Memory Reallocation problem under high load factors with online insertions/deletions.
  • Develop a randomized resizable allocator achieving polylogarithmic overhead in 1/ε.
  • Leverage additive combinatorics to reduce object-size diversity and enable efficient substitutions.
  • Show near-optimality via a logarithmic lower bound and discuss high-probability guarantees.
  • Demonstrate how the sunflower lemma and subset-sum results inform allocator design.

Proposed method

  • Apply a substitution-plus-bundling strategy to group objects by sizes into a bounded number of bundles.
  • Use an additive combinatorics lemma (Erdős–Sárközy) to create many equal-sum subsets enabling cheap substitutions.
  • Introduce a multi-level memory layout with periodic rebuilds to maintain a prefix (resizable) allocation.
  • Perform randomized rebuilds with probability linked to memory levels to achieve polylog overhead.
  • Derive overhead bounds by summing level-wise rebuild costs leading to O(log^4(1/ε)·(log log(1/ε))^2) expected overhead.

Experimental results

Research questions

  • RQ1What is the best possible worst-case expected overhead achievable by a randomized resizable allocator under load factor 1−ε?
  • RQ2Can additive combinatorics techniques reduce object-size diversity to enable cheaper substitutions and tighter overhead bounds?
  • RQ3Is a polylogarithmic overhead achievable in the online Memory Reallocation problem, and under what probabilistic guarantees?
  • RQ4What are the fundamental limits (lower bounds) for overhead in this model, and can they close the gap to upper bounds?

Key findings

  • A randomized resizable allocator with worst-case expected overhead O(log^4(ε^{-1})·(log log ε^{-1})^2) against an oblivious adversary.
  • A corollary showing overhead O(log^4 M·(log log M)^2) when memory may be full, i.e., polylog overhead in memory size.
  • A lower bound of Ω(log ε^{-1}) on the worst-case expected overhead for any allocator (against an oblivious adversary).
  • A further lower bound showing that achieving high-probability polylog overhead per update is impossible, via a Ω(ε^{-1/7}) bound on squared overhead.
  • The approach relies on Erdős–Sárközy subset-sum structure and sunflower lemma techniques to enable efficient substitutions and rebuilds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.