Skip to game

Operations card · 01

Memory Arena

Fit requests into a row of 24 memory cells. Free blocks, compare placement policies, and see how scattered holes can stop a request.

Allocation map

Address 00 → 23. Dashes mark free cells.

    Free cells
    –
    Largest free run
    –
    Active blocks
    –

    Move order

    How the two policies choose a block

    First fit picks the earliest free run large enough for the request. Best fit picks the smallest run that fits, using the earliest address to break ties. Compaction moves every active block to the left in address order and collects the free cells at the end.