This is a memory allocation simulator that simulates various memory allocation algorithms. The simulator is built using Python and Flask for the backend and React for the frontend.
The simulator currently supports the following memory allocation algorithms:
- First Fit
- Next Fit
- Best Fit
- Worst Fit
Ensure Python and Node.js are installed on your machine.
Install the required Python packages by running this in the root directory:
pip install -r requirements.txt
Install the required Node.js packages by running this in the ui
directory:
npm install
To start the backend server, run this in the root directory:
python app.py
To start the frontend server, run this in the ui
directory:
npm run dev