2. Fill up already-used pages first (dense-first allocation)
In plain words
Custom memory allocators should allocate new objects from the densest page or slab first, so lightly used 16 KB pages can empty and be released to the OS.
- FIFO or round-robin allocation scatters new objects across many partially filled 16 KB pages.
- A single object on a page keeps all 16 KB resident in physical RAM.
- Always allocate from the most full page or slab before touching empty or lightly used pages.
- Concentrating allocations on already-dirty pages lets lightly used pages drop to zero active objects so the whole page can be released.
From the official text
If an allocator hands out memory in first-in-first-out (FIFO) or round-robin order, new allocations get scattered across many partially filled 16 KB pages. A single object on a page keeps all 16 KB resident in physical RAM. What to do: Always allocate new objects from the most full (densest) page or slab before …
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.
Developers' cases about this clause
No cases yet.