wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory

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

5 Things I As A Dentist Would Never Do (And What You Can Learn From It)

Blog banner

Objectives and Functions of Operating System

Blog banner

Cyber Security Control

Blog banner

Why is online marketing is important in current scenario

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

EdTech (Education Technology)

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

21ST CENTURY PATRIARCHY

Blog banner

Types of E-Commerce

Blog banner

Emailing the merger document

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

Denial-of-Service and Distributed Denial-of-Service Attack Techniques

Blog banner

Security Issues and Countermeasures

Blog banner

Cyber Security Standards

Blog banner

Deadlock

Blog banner

NETSUITE

Blog banner

operating system

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Disk scheduling

Blog banner

Android Application Components and Activity Lifecycle

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

10 Types of Friends in every friend group

Blog banner

Drawing tips for a beginner

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

Data Warehouse Bus Matrix

Blog banner

Why Friendship at Work is Important

Blog banner

INTERNET

Blog banner

Mumbai Metro 3

Blog banner

c

Blog banner

Data Lake

Blog banner

Junk food vs healthy food

Blog banner

security requirements for safe e-payment

Blog banner

Smartsheet

Blog banner

Women’s Mental Health (After Marriage)

Blog banner

Memory heirachy (Operating system)

Blog banner

Navigating the Digital Battlefield: Security Breaches and Effective Countermeasures

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

Why Moms Are Choosing Customised School Accessories Over Generic Products?

Blog banner

Why Personalized Return Gifts Are the Perfect Choice for Every Kid’s Birthday Party?

Blog banner

Google classroom

Blog banner

MUTUAL EXCLUSION

Blog banner