StoreRules

Rules · Support 16 KB page sizes · Optimize custom memory allocators

3. Align memory pools to 16 KB and keep pool sizes moderate

In plain words

If your app uses a custom memory allocator, make pools, slab boundaries and buffer alignments exact multiples of the runtime page size, and re-check multi-page span sizes for 16 KB kernels.

  • Multi-page spans designed for 4 KB systems can hold excessive unreleased memory slack on 16 KB kernels.
  • Size classes that don't divide evenly into 16 KB cause fragmentation at the end of each page.
  • Ensure all memory pools, slab boundaries, and buffer alignments are exact multiples of the runtime page size.
  • Re-evaluate multi-page span sizes for small-object classes to avoid overly large slabs that trap idle memory.

Summary written by StoreRules and checked against the official text.

From the official text

Multi-page spans designed for 4 KB systems can hold excessive unreleased memory slack on 16 KB kernels. In addition, size classes that don't divide evenly into 16 KB cause fragmentation at the end of each page. What to do: - Ensure all memory pools, slab boundaries, and buffer alignments are exact multiples of the …

Read the full official text ↗ Open in the StoreRules library Ask whether your app complies

Change history

No substantive change since StoreRules began tracking it.

First seen: 2026-10-16

Developers' cases about this clause

No cases yet.

Share your case