wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual Memory

profile
Manan Kamdar
Jul 12, 2023
0 Likes
0 Discussions
74 Reads

Virtual Memory is a storage allocation scheme in which secondary memory can be addressed as though it were part of the main memory. The addresses a program may use to reference memory are distinguished from the addresses the memory system uses to identify physical storage sites and program-generated addresses are translated automatically to the corresponding machine addresses.
The size of virtual storage is limited by the addressing scheme of the computer system and the amount of secondary memory is available not by the actual number of the main storage locations.
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 Segmentation.
The space used for virtual memory on a drive is known as "backing store," or "swap space." In the Windows world, it's usually implemented as a file, known as a "swap file." It's also possible to do this in Linux, but it's much more common to use a dedicated disk partition.
The upshot of virtual memory is that it's possible to run large programs by using more memory than the physical RAM in your machine. Virtual memory also allows developers to create applications without having to know how a computer's memory is organized.

The main downside historically with virtual memory has been that hard drives have been slower than RAM. If a machine doesn't have enough RAM, the system can keep swapping pages in and out endlessly, a process known as "thrashing." This is less of an issue on modern PCs with more RAM and faster SSDs displacing mechanical hard drives, but it's still something to be aware of.


Comments ()


Sign in

Read Next

The Best Photography Spots in and Around Arcadia, Florida

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Game Theory in Blockchain

Blog banner

Memory Management of Operating System(OS)

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner

Malware Detection Techniques for Mobile Devices

Blog banner

The 60-Minute Window: What to Do (And What NOT to Do) When You Knock Out a Tooth

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

How Cyber Forensics use in AI

Blog banner

How to Choose Your Daily Signature Scent Based on Your Personal Vibe?

Blog banner

How social media affect

Blog banner

Open Source Project By Google

Blog banner

Virtual Machine's

Blog banner

Data Visualization

Blog banner

Concept and definition of m-commerce

Blog banner

All you need to know about Website Traffic

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Ransomware

Blog banner

Threat management

Blog banner

Functions of operating system

Blog banner

Education?

Blog banner

LINUX

Blog banner

Decision Tree: A Diagram Model

Blog banner

E-security systems | CCTV

Blog banner

How Do I Get Rid of My People-Pleasing Behaviour?

Blog banner

RAID - LEVELS OF RAID

Blog banner

What is Spyware?

Blog banner

Memory Management

Blog banner

Electronic Evidence in Cyber Forensics

Blog banner

Paddling the Peace River: The Ultimate Guide to Kayaking and Canoeing Near Arcadia

Blog banner

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

Blog banner

Mail merge

Blog banner

To travel is to live

Blog banner

Uniprocessor Scheduling

Blog banner

Memory Management

Blog banner

Wrike

Blog banner

This Windows 11 encryption bug may cause data damage

Blog banner

MEMORY MANAGEMENT

Blog banner

Kernel Modes: User Mode vs. Kernel Mode - 80

Blog banner

Why Inconel 625 and Monel 400 Remain Unbeatable in Refinery Applications?

Blog banner