Posts

Showing posts from June, 2022

Memory management in Operating System.

Image
  What is Memory management in Operating System? Memory management is a function of the OS. It helps us with: managing the system memory (primary memory) handling the movement of processes between main memory and disk during execution. keeping track of every memory location, whether allocated or free checking the amount of memory to be allocated to a process. deciding which process will get memory and at what time tracking when some memory is free or unallocated and updating its status OS Memory Management Techniques Following are the important memory management techniques: 1. Single Contiguous Allocation This is the easiest memory management technique where all types of computer memories except the one reserved for the OS are available for one application. 2. Partitioned Allocation In this allocation, the primary memory is divided into various memory partitions where each partition stores the information for a specific job. A job is given a partition when it starts executing and t...