Contiguous Memory Management Techniques
Q.1: What are the memory management techniques?
Answer:
Four main memory management techniques of computers are paging, swapping, segmentation, and compaction
Q.2: What are the advantages of contiguous memory?
Answer:
- Contiguous memory requires less overhead.
- It is easy to implement.
- Contiguous memory allocation is an efficient technique.
Q.3: Is malloc memory contiguous?
Answer:
Yes, A contiguous blocks of main memory is allocates by malloc and deallocates it when no longer used.
Implementation of Contiguous Memory Management Techniques
Memory Management Techniques are basic techniques that are used in managing the memory in the operating system. In this article, we will deal with the implementation of Continuous Memory Management Techniques. Memory Management Techniques are classified broadly into two categories:
- Contiguous
- Non-contiguous