Skip to main content

Memory Management Basic Concepts

Memory Management Basic Concepts

Memory Management Basic ConceptsDefinition of Memory Management Basic Concepts -  Memory management deals with the processes and methodologies for the effective use, allocation, monitoring & management of computer memory. It provide ways to dynamically allocate parts of memory to processes at their and free it for reuse when no longer needed. Various methods are devised to increase the effectiveness of memory management. The related terms which help in memory management process are given below.

What are the different types of Memory Management?

  1. Segmentation – The division of computer primary memory into segments or sections are called as Segmentation. The segments is the divisions of a program such as individual routines or data tables. Each segment has a length and set of permissions linked with it. The segment is also used to implement virtual memory concepts. The segmentation should be implemented on several different ways depending on hardware. There are primary two methods for segmentation. A. Segmentation without paging B. Segmentation with paging. In without paging method – segments are swapped back and forth between main memory and secondary storage. In with paging method – in spite of actual memory location the segment information includes the address of the page table for the segment.

  1. Paging- It is the memory management scheme in which a computer stores and retrieves information from secondary storage to main memory in the form of small size memory blocks called pages. In virtual memory implementation, the concepts of paging play an important role. When a program tries to refer a page which is not currently present in RAM, the processor treats this as invalid memory reference as a Page Fault and transfer control from the program to the OS.

  1. Fragmentation – It is the condition when file stored in disk are scattered into pieces around the disk. In this case the storage space are used inefficiently, reducing the capacity and performance of memory units. It occurs while you use a disk frequently, create, delete and modify files. The fragmentation process is entirely invisible to users, and it slow down the speed of data accessing because the disk drive have to search through the disk to put together a single file.

  2. Memory Allocation – The Memory allocation is the process by which computer programs and services are assigned with physical or virtual memory space. Memory allocation is achieved through a process known as memory management. Memory allocation can be done through two ways –Static memory allocation and Dynamic memory allocation.

  3. Swapping - In swapping the processes which are on waiting state, suspend or temporary suspend state will be stored from out side the memory locations so the speed of process will be higher as compared to previous one.

  4. Static Vs Dynamic Loading

  5. Static Vs Dynamic Linking

  6. Process Address Space

This is all about Memory Management Basic Concepts, in next article we will talk in brief about all related terms and concepts.

Popular posts from this blog

Fix Windows could not find a driver for your network adapter error

Fix Windows could not find a driver for your network adapter error

A Computer run smoothly with the coordination of Software & Hardware. In the absence of any one it will not run at all. Software being the Master utilizes each hardware attached to the System. And each hardware is operated with the help of Device Drivers installed in it. Operating System (OS) uses these device drivers to control & utilize each hardware when needed. Each hardware connected to the system must have their own Device Driver installed. A device driver is a program to initiate a hardware when required by Operating System.

Suppose, you want your PC to connect to the Network, it can only be possible when your PC has network related Device Driver. These Device Drivers are easily downloaded from Manufacturer Websites. In this article we focus on Network related problem. Suppose, your PC not obtaining Network connectivity. And each time you are getting an error message saying "Windows could not find a d…

Fix This Site Can’t Be Loaded from The Cache Chrome Error

Fix This Site Can't Be Loaded from The Cache Chrome Error

This Site Can’t Be Loaded from The Cache - Today, there are several browsers available with extensive features on it. Each browser has its own importance and working principle. Some of the popular browsers available online are Google Chrome, Mozilla Firefox, Opera Mini, Internet Explorer, UC Browser, Safari, Microsoft Edge, Swift fox etc. The popularity of these browsers depends upon the features available in it.

Among them Google Chrome is the newest and mostly used browser around the world. Holding lots of feature make it more complex and hence more prone to errors. The types of error come up with the level of complexity of the program. If you are Chrome user and facing one of such error then read the full article. In this article, we focus on an error saying "This site can't be loaded from the cache". The explanation included with this error will be "The saved (cached) copy of this site was unreadable&qu…

Change Facebook Profile Picture Leaving All Unknown

Change Facebook Profile Picture Leaving All Unknown

Change Facebook Profile Picture Leaving All Unknown - Today, we spend lots of time in Social media platforms such as WhatsApp, Facebook, Instagram, Skype, YouTube, Twitter etc. We love to share Images & Videos with our friends via these platforms. These applications are largely used on Smartphones. We need to download concerned apps from inbuilt software, Play Store in Android Platform.

After downloading the App, we create an ideal account with a profile picture. We join the network by sending friend request. When request is accepted, we are added to such a community. In this article we take a close look on Facebook. Facebook is vastly used all around the world. Two person residing miles away can also share their views easily.

Change Facebook Profile Picture Leaving All Unknown

Whenever we open Facebook, lots of Images & Videos are seen with gentle scroll. In this article we focus on an interesting thing say Profile Picture. In F…