Skip to content

Tag Archives: memory-management

Pre-requisite:  Linked List Data StructureStack vsHeap Memory Allocation The Linked List is a linear data structure, in which the elements are not stored at contiguous… Read More
A structure is a user-defined data type in C/C++. A structure creates a data type that can be used to group items of possibly different… Read More
Prerequisites: Cache Memory Memory Access Paging Transition Look Aside Buffer Revisiting Cache AccessWhen a CPU generates physical address, the access to main memory precedes with… Read More
Cache Memory is a small, fast memory that holds a fraction of the overall contents of the memory. Its mathematical model is defined by its… Read More
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
Best fit algorithm for memory management: The memory partition in which there is a minimum loss on the allocation of the process is the best-fit… 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 algorithm… Read More
For both fixed and dynamic memory allocation schemes, the operating system must keep a list of each memory location noting which are free and which… 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

Start Your Coding Journey Now!