CS Compass Logo

CS Compass

Your CS Navigator

Memory Management

Learn how an Operating System manages memory efficiently.

What is Memory Management?

Memory Management is a function of the Operating System that manages primary memory and allocates memory to processes efficiently.

Paging

Paging is a memory management technique in which physical memory is divided into fixed-size blocks called frames and logical memory is divided into pages.

Segmentation

Segmentation divides memory into variable-sized logical units called segments such as code, data, and stack.

Virtual Memory

Virtual Memory allows a program to execute even when it is larger than the available physical memory.

Swapping

Swapping is the process of moving a process from main memory to secondary storage and bringing it back when required.

Advantages of Memory Management