Memory Management in Operating System
What is Main Memory Main memory, also called RAM, is where a computer keeps data and programs that the CPU is currently using. It’s fast and temporary; data is lost when the power is off. What is Memory Management Memory management is how an operating system handles memory for different programs. It makes sure memory is used efficiently and helps avoid problems like memory waste or fragmentation. Why It's Needed : Allocates memory before processes start and frees it afterward. Keeps track of which memory is used. Reduces memory waste (fragmentation). Ensures memory is used effectively and data stays safe during processing. Logical vs. Physical Address: Logical Address: The address made by the CPU, which can change. Physical Address: The actual address in memory, which stays the same. Static vs. Dynamic Loading: Static Loading: Loads the whole program at once, using more memory. Dynamic Loading: Only loads parts of the program when needed, saving memory. Watch this...
You really like recipes don't you Luke🤣🤣
ReplyDeleteYeap
Delete