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

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

Mouth Ulcers: Why Do They Keep Popping Up and How Can You Actually Get Rid of Them?

Blog banner

The Laws of Karma

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

WHAT IS SNAPCHAT AND HOW DOES IT WORK?

Blog banner

Marvel Cinematic Universe

Blog banner

Process in OS

Blog banner

The New Role of Social Media Managers: Beyond Posting Content

Blog banner

This is my first blog.

Blog banner

RAID

Blog banner

Winter-to-Spring Smile Care: How Sydney’s Late-August Winds Impact Your Teeth & Gums

Blog banner

BENIFITS OF YOGA

Blog banner

Deadlocks in Operating System

Blog banner

Smart Homes | Zigbee Alliance

Blog banner

Why Makhana Is Becoming India’s Favourite Healthy Snack?

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Expert System In AI

Blog banner

Never give up

Blog banner

Cyber Forensics

Blog banner

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

MEMORY HIERARCHY

Blog banner

The Rise of Polo Tourism in the USA: How Travellers Are Blending Luxury Stays with Elite Sports

Blog banner

The Dark Web: A Breeding Ground for Cybercriminals – How to Guard Against Threats

Blog banner

Malware

Blog banner

PODIO

Blog banner

Photorec - media recovery tool

Blog banner

Security issues

Blog banner

I/O Buffering

Blog banner

The Right way of cooking

Blog banner

ZOHO

Blog banner

Impacts of Data Breach On Companies Challenges and Prevention

Blog banner

Rapido

Blog banner

The Evolution of the Microprocessor ~ Aditya Pai

Blog banner

Instagram

Blog banner

Should you be using a mouthwash? Know from the experts

Blog banner

Deadlock

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

Save Environment

Blog banner

Types of Threads

Blog banner

Continual service improvement vs maintenance phase in IT

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner