Introduction to memory management in OS

                     Memory management

Main memory refers to a physical memory that is internal memory to the computer. Main memory is also known as ram. The computer is able to change only data in main memory.

Therefore every program we execute and every file we access must to copied from a storage device into main memory.

All the program are loaded into main memory this is easy to access.  Due to large storage of secondary memory like 500gb  , 1tb and so on program can't access fast and easily.

All the programs are loaded in the main memeory for execution. Sometimes complete program is loaded into the memory, but some times a certain part or routine of the program is loaded into the main memory only when it is called by the program, this mechanism is called Dynamic Loading, this enhance the performance.
Also, at times one program is dependent on some other program. In such a case, rather than loading all the dependent programs, CPU links the dependent programs to the main executing program when its required. This mechanism is known as Dynamic Linking.

CPU ---->main memory ---> secondary memory 

Thank you viewers ...
This is published by soumy Sinha ..



Comments

Popular posts from this blog

Introduction of Digital computer

INTRODUCTION OF DBMS

Introduction to cache memory