Exercise - Java Threads
Memory Management Simulation - ASSESSED
Scenario
You will write a simulation of the memory management component of an operating system. The system will use simple direct memory management (no paging). The simulation will be based around a sequence of process requests, each of which includes the amount of memory needed for the process, plus the process runtime.
Each line in the text file represents the arrival of a Process. The first number represents the delay between arrivals (not the absolute arrival time) the second character indicates the process identifier (you may assume these are single alphabetic characters, with no duplicates) the third is how much memory the process needs to be allocated and the final number is the runtime that the process will require. In this way we can simulate any desired usage pattern of process arrivals.
Your task will be to implement several different memory managers that allocate memory to the processes using a variety of different allocation techniques.
Attachment:- Assignment File.rar