Dynamic Memory Allocator

A 64-bit malloc/free in C. Each request takes the smallest free block that fits, freed blocks merge with free neighbors, and the heap grows when nothing fits.

heap Empty heap: one 384 B free block.

Heap in use

0%
0 B requested of 384 B
Max utilization so far: 0%

Throughput

–Kops
Current
Max so far: –

Heap size

384 B
not extended yet

Throughput is simulated from the work each operation does. Sample benchmark run: 74.5% utilization, 6,705 Kops.

allocated 16 B mini-block free best fit search merging new heap memory
Try it: Click or press Enter on an allocated block to free it.