wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory

profile
Tanisha Joshi
Aug 13, 2024
0 Likes
0 Discussions
97 Reads

Virtual memory

Virtual memory is a memory management technique used by operating systems to give the appearance of a large, continuous block of memory to applications, even if the physical memory (RAM) is limited. It allows the system to compensate for physical memory shortages, enabling larger applications to run on systems with less RAM.

 

A memory hierarchy, consisting of a computer system’s memory and a disk, enables a process to operate with only some portions of its address space in memory. A virtual memory is what its name indicates- it is an illusion of a memory that is larger than the real memory. We refer to the software component of virtual memory as a virtual memory manager. The basis of virtual memory is the noncontiguous memory allocation model. The virtual memory manager removes some components from memory to make room for other components.

 

The size of virtual storage is limited by the addressing scheme of the computer system and the amount of secondary memory available not by the actual number of main storage locations. 

 

Working of Virtual Memory

It is a technique that is implemented using both hardware and software. It maps memory addresses used by a program, called virtual addresses, into physical addresses in computer memory. 

 

All memory references within a process are logical addresses that are dynamically translated into

physical addresses

at run time. This means that a process can be swapped in and out of the main memory such that it occupies different places in the main memory at different times during the course of execution.

A process may be broken into a number of pieces and these pieces need not be continuously located in the main memory during execution. The combination of dynamic run-time address translation and the use of a page or segment table permits this.

If these characteristics are present then, it is not necessary that all the pages or segments are present in the main memory during execution. This means that the required pages need to be loaded into memory whenever required. Virtual memory is implemented using Demand Paging or Demand Segmentations .


Comments ()


Sign in

Read Next

MySQL

Blog banner

I/O Buffering

Blog banner

PROCESS CONTROL BLOCK IN OS

Blog banner

TRELLO

Blog banner

Importance of self defence for girls

Blog banner

File management

Blog banner

Kernel in Operating System

Blog banner

Understanding Mobile Device Forensics

Blog banner

Steps to create an Ubuntu EC2 Instance with GUI in AWS

Blog banner

Modern Operating System

Blog banner

Memory management

Blog banner

Deadlock and Starvation

Blog banner

Evolution of the Microprocesor

Blog banner

Starvation

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Synchronization

Blog banner

The Memory Hierarchy

Blog banner

Data Mining

Blog banner

The Power of Teamwork: Learning Collaboration Through Everyday Activities

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Why we should do reading

Blog banner

Deadlock

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

Classification Vs Clustring? What's the diffrence?

Blog banner

Deadlock and starvation

Blog banner

Digital marketing spotlight “Dove’s Real Beauty Campaign”

Blog banner

RAID

Blog banner

RAID_142

Blog banner

(Input/Output) in os

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

Trello ( management software)

Blog banner

AI and Data Science: Revolutionizing Industries

Blog banner

All you need to know about “On-page SEO”

Blog banner

10 Problems you face if you are an Otaku

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

Interrupts in operating system.

Blog banner

Cloud Computing: Threats and Vulnerabilities

Blog banner

Virtual memory

Blog banner

AOL Mail

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Types of Threads

Blog banner