0% found this document useful (0 votes)
19 views

OS (Mmy Allocation Methods)

Uploaded by

RMD GAMING TAMIL
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

OS (Mmy Allocation Methods)

Uploaded by

RMD GAMING TAMIL
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Welcome

Memory Allocation
Methods
PRESENTATION BY
K . Ajai
N . Santhosh Kumar
S . Deebesh
B . Kanish
Types of Memory Allocation
• Contiguous memory allocation
Fixed size partition
Variable size partition
• Non- contiguous memory allocation
Paging
Segmentation
Contiguous Memory Allocation
• Fixed Size Partition
Another name for this is static partitioning. In this case, the
system gets divided into multiple fixed-sized partitions. In this type of
scheme, every partition may consist of exactly one process. This very process
limits the extent at which multiprogramming would occur, since the total
number of partitions decides the total number of processes.
Fixed Size Partition

Problem :
• Internal Fragmentation
Internal fragmentation occurs when the memory is
distributed into fixed-sized blocks. If the memory
allocated to the process is slightly larger than the
memory demanded, then the difference between
allocated and demanded memory is known as
internal fragmentation.
Contiguous Memory Allocation
• Variable Size Partition
Multi-programming with variable partitioning is a contiguous
memory management technique in which the main memory is
not divided into partitions and the process is allocated a chunk
of free memory that is big enough for it to fit.
Variable Size Partition

Problem :
• External Fragmentation
External fragmentation happens when
a dynamic memory allocation method
allocates some memory but leaves a
small amount of memory unusable.
The quantity of available memory is
substantially reduced if there is too
much external fragmentation.
Non – Contiguous Memory Allocation
• Paging
Paging is a storage mechanism used in OS to retrieve processes from secondary
storage to the main memory as pages. The primary concept behind paging is to
break each process into individual pages. Thus the primary memory would also
be separated into frames.
Paging
Non – Contiguous Memory Allocation
• Segmentation
In Operating Systems, Segmentation is a memory management
technique in which the memory is divided into the variable size
parts. Each part is known as a segment which can be allocated to
a process. The details about each segment are stored in a table
called a segment table.
Segmentation
...THANKING YOU...

You might also like