Psychology, asked by Munawwar4423, 1 year ago

Distinguish between non-contiguous and contiguous memory allocation

Answers

Answered by dimension20
1
Contiguous memory allocation:-
Contiguous memory allocation is a memory allocation that assigns a process consecutive memory blocks (that is,memory blocks having consecutive addresses).Contiguous memory allocation is one of the oldest memory allocation schemes.when a process needs to execute,memory is requested by the process.


Non - contiguous memory allocation:-
It divides the process into several blocks and place them in the different address
space of the memory.
Answered by dassristi2016
0
Tech Differences

Know the Technical Differences



Difference Between Contiguous and Noncontiguous Memory Allocation
January 2, 2017 1 Comment

contiguous-vs-noncontiguous-memory-allocationMemory is a large array of bytes, where each byte has its own address. The memory allocation can be classified into two methods contiguous memory allocation and non-contiguous memory allocation. The major difference between Contiguous and Noncontiguous memory allocation is that the contiguous memory allocation assigns the consecutive blocks of memory to a process requesting for memory whereas, the noncontiguous memory allocation assigns the separate memory blocks at the different location in memory space in a nonconsecutive manner to a process requesting for memory. We will discuss some more differences between contiguous and non-contiguous memory allocation with the help of comparison chart shown below.



Content: Contiguous Vs Noncontiguous Memory Allocation
Comparison Chart
Definition
Key Differences
Conclusion

Comparison Chart
BASIS THE COMPARISON CONTIGUOUS MEMORY ALLOCATION NONCONTIGUOUS MEMORY ALLOCATION
Basic Allocates consecutive blocks of memory to a process. Allocates separate blocks of memory to a process.
Overheads Contiguous memory allocation does not have the overhead of address translation while execution of a process. Noncontiguous memory allocation has overhead of address translation while execution of a process.
Execution rate A process executes fatser in contiguous memory allocation A process executes quite slower comparatively in noncontiguous memory allocation.
Solution The memory space must be divided into the fixed-sized partition and each partition is allocated to a single process only. Divide the process into several blocks and place them in different parts of the memory according to the availability of memory space available.
Table A table is maintained by operating system which maintains the list of available and occupied partition in the memory space A table has to be maintained for each process that carries the base addresses of each block which has been acquired by a process in memory.
Similar questions