

When the memory is allocated to the program, then it is the job of the operating system to change the logical address into the physical address. Process address space can be well defined as the set of the logical addresses which the process can reference. When the various process comes which require memory which is not available this is called as the wasted memory.Ģ) Time Complexity: there is also wastage of time for allocating and de-allocating the memory spaces to the process.ģ) Memory Access: there must be some operations those are performed for providing the memory to the processes. So there are the following problems arise when we use the contiguous memory allocation.ġ) Wasted Memory: the wasted memory is that memory which is unused and which can’t be given to the process. In this when the required memory is high after combining the various areas of memory, then this is called external fragmentation. In this when the memory is not enough after combing the multiple parts of a single memory. This is also known as the external fragmentation. The second problem also occurs in the continues allocation.

So that if a process requires large memory, then that process will not be fit into the small area. The main reason for the internal fragmentation is, all the memory is divided into the fixed and continuous sizes. So this problem is also known as the internal fragmentation. However, there will be a problem when the memory which is required by the process is not enough for him or when the size of memory is less which is required for the process. Means when a physical address is mapped or convert into the logical address, and then this is called as the binding. Operating system translates the physical address into the logical address, and if he wants to operate, then he must translate the physical address into the logical address. Also, manage which process will be executed at that time. So that we use the concept of memory management, this is the responsibility of the operating system to provide the memory spaces to every program.

When we want to execute any programs then that programs must be brought from the physical memory into the logical memory. The memory which is temporary such as ram is also known as the temporary memory, and the memory which is permanent such as the hard disk is also known as the physical memory of the system. Moreover, there are two types of memories first is the logical memory and second is the physical memory. As we know that memory is that which stores the programs and these programs are used by the CPU for processing.
