Memory Management Techniques
Memory Management Techniques
(MFT):
1. Partition Initialization:
- Divide the memory into k fixed-sized partitions.
- Each partition should be large enough to hold one process.
- Initialize a list of partitions, marking all as empty.
3. Task Execution:
- Run each process concurrently in its allocated partition.
- Processes execute independently, unaware of each other's existence.
5. Repeat:
- Go back to step 2 and continue allocating partitions to incoming processes.
B) Multi-programming with Variable Number of Tasks
(MVT):
1. Memory Initialization:
- Start with the entire memory pool available for allocation.
- Initialize a list of free memory blocks representing available space.
4. Task Execution:
- Execute each process in its allocated memory block.
- Processes run independently within their allocated memory space.
6. Repeat:
- Return to step 2 to handle incoming processes and manage memory
allocation dynamically.