Tag Archives: memory-management

In this article, if memory allocation using new is failed in C++ then how it should be handled? When an object of a class is… Read More
Memory Allocation: Memory allocation is a process by which computer programs and services are assigned with physical or virtual memory space. The memory allocation is… Read More
User has memory machine. It has one layer for data storage and another layer for cache. User has stored an array with length N in… Read More
First Fit Algorithm for Memory Management: The first memory partition which is sufficient to accommodate the process is allocated. We have already discussed first fit… Read More
For both fixed and dynamic memory allocation schemes, the operating system must keep list of each memory location noting which are free and which are… Read More
For both fixed and dynamic memory allocation schemes, the operating system must keep list of each memory location noting which are free and which are… Read More
Magnetic Tapes and Magnetic Disks are the types of magnetic memory. Both are called non-volatile storage and used for store data. Magnetic tape contains thin… Read More
A person novice to computers often is in confusion between Random Access Memory (RAM) and Hard Disk Drive (HDD). Here we draw comparisons between the… Read More
Memory leakage occurs in C++ when programmers allocates memory by using new keyword and forgets to deallocate the memory by using delete() function or delete[]… Read More
The internal structure of Memory either RAM or ROM is made of memory cells that contain a memory bit. A group of 8 bits makes… Read More
Memory management keeps track of the status of each memory location, whether it is allocated or free. It allocates the memory dynamically to the programs… Read More
Prerequisite : Partition allocation methods Worst Fit allocates a process to the partition which is largest sufficient among the freely available partitions available in the… Read More
Prerequisite : Partition allocation methods Best fit allocates the process to a partition which is the smallest sufficient partition among the free available partitions. Example:… Read More
Prerequisite : Partition Allocation Methods In the first fit, the partition is allocated which is first sufficient from the top of Main Memory. Example :… Read More
Virtual Memory is a storage allocation scheme in which secondary memory can be addressed as though it were part of main memory. The addresses a… Read More