CRITICAL SCRUTINYOF MEMORY ALLOCATION ALGORITHMS: FIRST FIT, BEST FIT AND WORST FIT
Main Article Content
Abstract
Memory allocation is the process of assigning a portion of memory to a process for
execution. Partitioning makes easier to organise memory requirement of different processes.
It is accomplished through a procedure called memory management. Memory requirement of
process may be either contiguous allocation or non-contiguous allocation. If process
requirement is contiguous, then consecutive blocks of memory have to be allocated to the
process. If the requirement is non-contiguous, then process may be allocated the blocks of
memory scattered all around the memory space. The efficiency of memory management
depends on the utilization of memory by the process. If the process is allotted exactly the
amount of memory requested by it, then it results in the maximum utilization. On the other
hand, if the process is allotted more memory than requested, then excess memory is wasted as
it cannot be used by another process. Such wastage of memory is referred to as internal
fragmentation that has to be minimized. If the process does not get its required contiguous
memory due to total available free memory is in non-contiguous form, then, it is referred to
as external fragmentation. This incident should also be avoided. All these aspects should be
considered while computing the memory utilization. In this paper, we will discuss about
some of the popular memory allocation algorithms that are, first fit, best fit and worst fit for
fixed sized and variable sized partition of contiguous nature, their performance will be
analysed along with internal and external fragmentation and the whole procedure of an
algorithm will be illustrated with proper diagrams. The main objective of this paper is to
determine the most efficient algorithm in contiguous memory allocation that as minimum
fragmentation.
Downloads
Metrics
Article Details
Licensing
TURCOMAT publishes articles under the Creative Commons Attribution 4.0 International License (CC BY 4.0). This licensing allows for any use of the work, provided the original author(s) and source are credited, thereby facilitating the free exchange and use of research for the advancement of knowledge.
Detailed Licensing Terms
Attribution (BY): Users must give appropriate credit, provide a link to the license, and indicate if changes were made. Users may do so in any reasonable manner, but not in any way that suggests the licensor endorses them or their use.
No Additional Restrictions: Users may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.