MemorySize //initialize memory size A pid size //allocate this process with that amount memory D pid //deallocate memory for this process
********************************* An Allocation Happened starting at location 12345 with size 67. Memory Size=16384 bytes, allocated= 384, free= 16000. There are currently 20 holes and 13 active processes. Holes: 1: starting at= 0, size= 123 . . . 20: starting at= 12412, size= 3972 Processes: 1: id= 4, starting at= 124, size= 23 . . . 13: id= 30, starting at= 12345, size= 67
16384 A 1 234 A 2 567 A 3 89 D 1 A 4 118 D 3 A 5 11 D 2 D 5 D 4 . . .You are given 10 lines. You should have 30 process and 50 lines at least. You should complete the file.