We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7
Memory Management
in Operating System Muhamed Shej ► Memory can be defined as a collection of data in a specific format. It is used to store instructions and process data.
► The primary purpose of a computer system is to
execute programs. These programs, along with the information they access, should be in the main memory during execution.
► To achieve a degree of multiprogramming and
proper utilization of memory, memory management is important. What is Main Memory? ► The main memory is central to the operation of a Modern Computer. Main Memory is a large array of words or bytes, ranging in size from hundreds of thousands to billions.
► Main memory is a repository of rapidly available
information shared by the CPU and I/O devices.
► Main memory is also known as RAM (Random Access
Memory). This memory is volatile. RAM loses its data when a power interruption occurs. What is Memory Management?
► In a multiprogramming computer, the Operating
System resides in a part of memory, and the rest is used by multiple processes. The task of subdividing the memory among different processes is called Memory Management. ► Memory management is a method in the operating system to manage operations between main memory and disk during process execution. Why Memory Management is Required? ► Allocate and de-allocate memory before and after process execution. ► To keep track of used memory space by processes. ► To minimize fragmentation issues. ► To proper utilization of main memory. ► To maintain data integrity while executing of process. Swapping
When a process is executed it must have resided in
memory. Swapping is a process of swapping a process temporarily into a secondary memory from the main memory, which is fast compared to secondary memory. A swapping allows more processes to be run and can be fit into memory at one time.
After finishing higher priority work, the lower priority
process swapped back in memory and continued to the execution process.