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

SQL Injection

Blog banner

Cyber Security in Data Breaching

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Amazon

Blog banner

Processing Crime and Incident Scenes

Blog banner

Deadlock and Starvation

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

RAID

Blog banner

Socket Programming in Java

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Memory Management

Blog banner

Riddhi Miyani 53003220140

Blog banner

Risk management in IT

Blog banner

SIEM Empowering Security

Blog banner

Deadlock

Blog banner

The Difference Between Plaque and Tartar Explained Simply

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

SECURITY TOOLS

Blog banner

Types of Big Data

Blog banner

Cyber Security Control

Blog banner

Diwali

Blog banner

Development Of Modern Operating System

Blog banner

Know your Processors!

Blog banner

Personalized Movie Recommendations with Data Science

Blog banner

Career v/s Job : Choose your passion

Blog banner

Deadlock and Starvation

Blog banner

Flipkart

Blog banner

DISK SCHEDULING

Blog banner

Virtual Memory

Blog banner

Types of E-Commerce

Blog banner

Pipedrive

Blog banner

Question

Blog banner

memory cache

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

What are Virtual Machines

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

My First Dream Bike

Blog banner

"Games and the future"

Blog banner

Health is Wealth

Blog banner

BITCOIN WALLET

Blog banner