Just as processes share the CPU, they also share physical memory. This section is about mechanisms for doing that sharing. EXAMPLE OF MEMORY USAGE Calculation of aneffective address ° Fetch from instruction ° Use index offset
Relocatable Binding o Compiler o linker o loader C=a+b Reserve Memory Area
Object Module Binary Prog.. Source Program Java source program(.java) Class file (.class) Binary file (0,1) Memory allocation, swaping, paging process
Process Free space 6 K.B. Process Free space 12 K.B. Free space 12 K.B. Free space 3 K.B. Process Memory space
Process Free space 6 K.B. Process Free space 12 K.B. Free space 12 K.B. Free space 3 K.B. Process Memory space
Process Free space 6 K.B. Process Free space 12 K.B. Free space 12 K.B. Free space 3 K.B. Process 6 K.B. Process
Process Free space 6 K.B. Process Free space 12 K.B. Free space 12 K.B. Free space 3 K.B. Process Memory space
Process Free space 6 K.B. Process Free space 12 K.B. Free space 12 K.B. Free space 3 K.B. Process Memory space
Process Free space 6 K.B. Process Free space 12 K.B. Free space 12 K.B. Free space 3 K.B. Free space 3 K.B. Process 6 K.B. Process 1 K.B. free 1 K.B. free 2 Mb Process
Process Free space 24 K.B. Free space 12 K.B. Free space 12 K.B. Free space 3 K.B. Process Memory space
Process Free space 24 K.B. Free space 24 K.B. Free space 12 K.B. Free space 12 K.B. Free space 3 K.B. Process Memory space
Process Free space 12 K.B. Free space 12 K.B. Free space 3 K.B. Free space 3 K.B. Process 6 K.B. Process Free space 24 K.B. Free space 18 K.B. 9 K.B. Free 3 K.B. Process
Process Memory space Process
Frame no Page no
pd f P F P d d=offset Page noFrame no
Page no P=1 Logical & Physical = offset d=3
pd f P F P d d=offset Page noFrame no