Memory Management Simulation - Mini Project 1.
Introduction This project is a Python-based
simulation of Operating System memory management. It demonstrates: Contiguous Allocation
(First-Fit, Best-Fit, Worst-Fit) Dynamic memory allocation and deallocation Visualization using
Tkinter GUI Internal and external fragmentation concepts 2. Project Features Interactive GUI for
adding and killing processes Real-time memory visualization Automatic merging of free blocks
Randomized process creation Supports common allocation algorithms 3. Implementation Overview
The simulation is built using: Block Class – Represents memory blocks MemoryManager Class –
Handles allocation algorithms MemoryGUI Class – Tkinter-based graphical interface 4. How to
Run Install Python 3.8 or above Save the project code into a file named memory_simulation.py
Run the file using the command: python3 memory_simulation.py 5. Conclusion This mini project
demonstrates OS-level memory allocation techniques and provides a clean and interactive GUI for
understanding how memory is used and freed dynamically. Submitted By Priyanshu Singh