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

E-Cash (Electronic Cash)

Blog banner

Importance Of Yoga.

Blog banner

TRIGGERS IN DATABASE

Blog banner

VIRTUAL MACHINE

Blog banner

Blockchain technology: security risk and prevention

Blog banner

BIRYANI ! The history you never knew about

Blog banner

Disk Management

Blog banner

Deadlock in Operating System

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

Save Girl Child

Blog banner

Article on Team Work

Blog banner

Os(Computer security threats)

Blog banner

Google App Engine

Blog banner

Deadlock and starvation

Blog banner

Paid Email

Blog banner

Man VS Nature

Blog banner

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

Modern Operating Systems

Blog banner

Concurrency:Deadlock and Starvation

Blog banner

DISK SCHEDULING

Blog banner

To travel is to live

Blog banner

Video games

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

Buffer overflow

Blog banner

A little bit of salt is all the hash needs!

Blog banner

SAVE TREES

Blog banner

Android Flashlight Application

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

SMARTSHEET

Blog banner

c

Blog banner

Evolution of Operating Systems

Blog banner

RAID - LEVELS OF RAID

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

PROCESS STATES OF OPERATING SYSTEM

Blog banner

MQTT (MQ Telemetry Transport) in Data Science

Blog banner

Data Visualization – Importance and tools (Tableau, Power BI)

Blog banner

What your Favorite colour says about You?

Blog banner

Virtual Memory

Blog banner

Article on IT development trends

Blog banner