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

OPERATING SYSTEM

Blog banner

Emailing the merger document

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

Microsoft Word

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

Use case of K-means clustering

Blog banner

QUANTUM COMPUTING IN SECURITY:A GAME CHANGER IN DIGITAL WORLD

Blog banner

A Review on Data Acquisition in Cyber Forensics

Blog banner

MUTUAL EXCLUSION

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Process, process creation and process termination

Blog banner

Understanding Mobile Device Forensics

Blog banner

Hacking

Blog banner

Mumbai

Blog banner

Boxing

Blog banner

Decoding the Weave — How to Identify Original Patola Art on a Fabric

Blog banner

BharatPe

Blog banner

Deadlock and starvation in operating system

Blog banner

RAID_142

Blog banner

Place to visit in pune

Blog banner

OPERATING SYSTEM

Blog banner

Memory Management

Blog banner

A buffer overflow

Blog banner

Fault tolerance

Blog banner

IO Buffers

Blog banner

Dancing Classes In Mumbai

Blog banner

Facebook marketing

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

Mumbai Metro 3

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

Memory Management in an Operating System

Blog banner

Flipkart

Blog banner

Understanding the 'Ambiverts'

Blog banner

Twisted world

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

Making Money through Instagram

Blog banner

Instagram Features in 2023 That Will Leave You Stunned!

Blog banner

Spyware

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner

The IT Service Lifecycle

Blog banner

Importance of self defence for girls

Blog banner

Data is an asset and it is your responsibility!

Blog banner