Memory Management Simulator
Quickstart
Build:
Windows (MSYS/MinGW) or WSL:
make
Run:
bin/memsim
Commands (interactive):
init memory <bytes>— initialize physical memory sizeset allocator <first_fit|best_fit|worst_fit>malloc <bytes>— allocate memoryfree <id|0xaddr>— free block by id or addressdump memory— show blocksstats— show statisticsexit— quit
Files of interest:
src/allocator— allocator implementationsrc/memory— physical memory stubdocs/design.md— design notes