wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual Memory - Explaination, Working, Steps

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

Raid and levels of raid.

Blog banner

Travel Geek ‘The last $50k in Switzerland’

Blog banner

A buffer overflow

Blog banner

Charcoal, Lemon, and DIY Kits: Which “Viral” Dental Trends Are Actually Dangerous?

Blog banner

Policies for Service Transition

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

Password Generator - Lisp

Blog banner

Veg/Non-veg/Egg Tiffin Meals That Are Nutritious and Filling

Blog banner

Yahoo! mail

Blog banner

Sarasota Polo Club, Myakka City — A Luxury Day Trip from Oak Tree Hotel, Arcadia

Blog banner

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

Blog banner

operating system

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

Microsoft Windows Overview

Blog banner

Multicore and multithreading 171

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

What Your Child Learns During Free Play (That You Might Not Notice)

Blog banner

1 Dentist in Maroubra, Sydney and her 10 obsessions

Blog banner

Risk mitigation and management

Blog banner

Why Progressive Web Apps (PWAs) Are Replacing Traditional Websites

Blog banner

Constrains in service design

Blog banner

Swiggi

Blog banner

Deadlock

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

AN EVENT-BASED DIGITAL FORENSIC INVESTIGATION

Blog banner

File management

Blog banner

Operation system

Blog banner

ITIL Version 3 and 4 differenciation?

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

Ethical Issues in Data Science and Role of Data Science in Smart Cities

Blog banner

Advantage of freedom

Blog banner

Monday. com App

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

Steganography

Blog banner

Network Footprinting in Cybersecurity

Blog banner

Modern operating systems (OS)

Blog banner

GIS info about Bermuda Triangle

Blog banner

Mumbai Metro 3

Blog banner

Smart Shoephone: Is that technology overdose!?

Blog banner

Modern OS

Blog banner

Social Engineering Deceptions and Defenses

Blog banner