wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual Memory - Explaination, Working, Steps

profile
Aditya Pai
Aug 13, 2024
0 Likes
0 Discussions
142 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

UniProcessor Scheduling

Blog banner

Processes : Process description and control

Blog banner

The Peephole

Blog banner

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

Blog banner

Real time scheduling

Blog banner

Virtual Machine

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

VIRTUAL MACHINE

Blog banner

Security issues

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

Instagram

Blog banner

objectives and function of operating system

Blog banner

Vulnerability Assessment

Blog banner

Constrained Management in IT

Blog banner

Some web vulnerabilities

Blog banner

You'll get to know about Pankaj Negi

Blog banner

PERT Overview

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

Why Moms Are Choosing Customised School Accessories Over Generic Products?

Blog banner

Toothache at night? What does this mean, and how to cope with it?

Blog banner

Blockchain Transactions

Blog banner

What Makes a School Safe, Supportive, and Student-Friendly

Blog banner

Why Kanye West (Now Ye) is the GOAT: A Legacy Beyond Music

Blog banner

Protein and Energy: Why Your Workday Diet Needs More of It

Blog banner

Atlantis - The Lost Island.........

Blog banner

Satellite Based Positioning

Blog banner

Data Mining

Blog banner

Hash password! Is it really secured?

Blog banner

GraphQL

Blog banner

PHONE TECHNOLOGY

Blog banner

Data Structures

Blog banner

Why Data Privacy Is Changing Online Advertising

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

Hacking

Blog banner

10 Reasons to date your best friend

Blog banner

Data Visualization in Decision-Making

Blog banner

Memory Hierarchy

Blog banner

INTERNET

Blog banner

S-Tool : Steganography

Blog banner

The launch of UniMap by HERE

Blog banner

The Lunchbox That Came Back Untouched — How to Handle a Fussy Eater at Preschool Age

Blog banner