g++ -std=c++11 main.cpp memory_manager.cpp -o memory_sim
./memory_sim < sample_input.txt
- Supports memory allocation (
alloc <pid> <pages>) - Virtual-to-physical translation (
access <pid> <vaddr> <read/write>) - Memory deallocation (
free <pid>) - Frame PID owner table (
view) - Implements FIFO and LRU page replacement, pick via command line