wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory

profile
Tanisha Joshi
Aug 13, 2024
0 Likes
0 Discussions
99 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

Virtual Machine

Blog banner

Cycling

Blog banner

Health and fitness in technology

Blog banner

Theads

Blog banner

What is Packet Filtering?

Blog banner

Artificial Intelligence (AI)

Blog banner

A Deep Dive

Blog banner

Operating System

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Types of Viruses

Blog banner

Process and Threading

Blog banner

Penetration Testing

Blog banner

The evolution of OS

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

Raid

Blog banner

Save Environment

Blog banner

Buffering

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

A Tourist’s Guide To Florida’s Rodeo Culture: What To Expect At The Arcadia Championship Rodeo

Blog banner

The Power of Teamwork: Learning Collaboration Through Everyday Activities

Blog banner

NodeJs

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

ODOO

Blog banner

MAILFENCE

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

GIS info about Bermuda Triangle

Blog banner

Docker Framework

Blog banner

Why Mumbai Professionals Are Switching Back to Home-Style Tiffin Meals

Blog banner

Process states

Blog banner

PHONE TECHNOLOGY

Blog banner

Security Issues

Blog banner

Decoding Confusion Matrix

Blog banner

Password Generator - Lisp

Blog banner

Memory management

Blog banner

File Systems in OS.

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

How to tie a Tie

Blog banner

Challenges and risks in service operations

Blog banner

The Rise of Evil Twin Attacks: A New Kind Of Spoofing Cyberattack

Blog banner

(Input/Output) in os

Blog banner