wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual Memory - Explaination, Working, Steps

profile
Aditya Pai
Aug 13, 2024
0 Likes
0 Discussions
154 Reads

VIRTUAL MEMORY - INTRODUCTION

  • Virtual memory is a memory management technique where section of hard drive can be used as if it were a part of the main memory.
  • It gives the appearance of a large, continuous block of memory to applications, even if the physical memory (RAM) is limited.
  •  It allows systems to run applications requiring large amounts of resources on a device with limited physical RAM.
  • As Physical RAMs are expensive, virtual memory provides a more affordable option to compensate for limited memory.

Note: The maximum size of virtual memory allowed to be created is double that of physical RAM. This means that if the device were to have 8 GB physical RAM, 16 GB of  hard disk space  can be dedicated as virtual memory. 

 

VIRTUAL MEMORY - WORKING

  • Virtual memory uses both hardware and software to operate. When an application is in use, data from that program is stored in a physical address using RAM.
  • A memory management unit (MMU) maps the address to RAM and automatically translates addresses. The MMU can, for example, map a logical address space to a corresponding physical address.
  • While copying virtual memory into physical memory, the OS divides memory with a fixed number of addresses into either pagefiles or swap files. Each page is stored on a disk, and when the page is needed, the OS copies it from the disk to main memory and translates the virtual addresses into physical addresses.

Note: The process of swapping virtual memory to physical is rather slow. This means using virtual memory generally causes a noticeable reduction in performance. This is because hard disk does not have the same high-speed properties of physical RAM.

 

STEPS TO INCREASE VIRTUAL MEMORY

  1. Right-click This PC > Properties.
  2. Click Advanced system settings > Environment Variables.
  3. Under System variables, click New, set PAGEFILE as the name, and C:\pagefile.sys <InitialSize> <MaximumSize> as the value.
  4. Click OK and restart the PC.

Comments ()


Sign in

Read Next

Question

Blog banner

COMPUTER FORENSICS AND GRAPHICS

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

All you need to know about “On-page SEO”

Blog banner

Brain wash of social media

Blog banner

Different types of e-commerce platforms or advantages and disadvantages

Blog banner

What is 'Multi-core and Multi-threading' ?

Blog banner

Koinex is shutting down and here is how you can withdraw...

Blog banner

A Traveller’s Guide to Offbeat Places in Arcadia, Florida

Blog banner

How Seasons affect online sales and how to overcome them

Blog banner

Cloud Security: Trends and Innovations

Blog banner

What is process

Blog banner

Threads in OS

Blog banner

Deadlock

Blog banner

Memory Management

Blog banner

The New Rules of UI/UX Design Every Website Must Follow in 2026

Blog banner

Data carving - using hex editor

Blog banner

Improving defences Proxy Device(defense in depth)

Blog banner

Zero-Click Searches: How To Stay Visible In Google’s New Era

Blog banner

What is Network Security?

Blog banner

Article on IT development trends

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner

Apache Spark :- Powerful Data Processing Tool

Blog banner

Operating System

Blog banner

Memory Hierarchy

Blog banner

What is Minting & Mining

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Webmail

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

Types of Threads

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

Child labour

Blog banner

How College Events Build Real-world Skills You Can’t Learn From Textbooks

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

Life

Blog banner

HTML vs HTML5

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

Mumbai famous street food

Blog banner

Os assignment

Blog banner

"Mahakali cave"

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Process Creation

Blog banner