Explain the two types of memory management techniques, which are used for allocating memory.
Explain the two types of memory management techniques, which are used for allocating memory.
1 Answers
Memory Management
It is the act of managing computer’s primary memory or main memory. Main memory is a large array of words or bytes where each ward or byte has its own address. Main memory provide a fast storage that can be accessed directly by the CPU.
An operating system does the following activities:
1. It keeps track of the status of each memory location either allocated or free.
2. Each process must have enough memory to execute and it cannot run into the memory space of another process.
3. Allocates the memory when a process requests it to do so.
4. De-allocates the memory when a process no longer needs it or has been terminated.
In most of the computers, it is possible to add memory beyond the original capacity, e.g. you might expand RAM according to your system configuration and requirement. Partitioned allocation divides primary memory of computer into multiple memory.