Question
Memory Allocation Question ========================== An operating system maintains three separate dynamic memory heaps: the size of each heap is: 4000 bytes, 16000 bytes and 64000
Memory Allocation Question ========================== An operating system maintains three separate dynamic memory heaps: the size of each heap is: 4000 bytes, 16000 bytes and 64000 bytes. An application makes the following memory allocation requests: 7500 bytes, 6500 bytes, 1500 bytes, 32000 bytes and 6500 bytes. Assuming the operating system implements the best fit memory allocation algorithm and there is no additional overhead, after all the requests have been made, how many bytes available are there in each heap for future use? What is the largest amount of memory the operating system can deliver to the application in the future? You should enter the values in the file stated by the coursework and this must be in the format (where #### represents the number of bytes): 4000 byte heap : #### 16000 byte heap: #### 64000 byte heap: #### max contiguous : #### Now assume that the operating system were changed to use a worst fit algorithm, what are the results now? Again enter the values in the same format: 4000 byte heap : #### 16000 byte heap: #### 64000 byte heap: #### max contiguous : ####
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started