wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual Memory - Explaination, Working, Steps

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

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Game via listing method

Blog banner

Cyber Security in Data Breaching

Blog banner

Video games

Blog banner

Danger assessment in GIS

Blog banner

Direct Memory Access

Blog banner

FREE VERSION OF G-MAIL

Blog banner

I/O Buffering

Blog banner

CyberSecurity Color Wheel

Blog banner

WORKFRONT SOFTWARE

Blog banner

I/O Buffering

Blog banner

About myself

Blog banner

Explain DBMS in Brief

Blog banner

A BLOG ON MYSQL

Blog banner

Types of Malware in Cyber Security

Blog banner

Explain website hacking issues

Blog banner

THE DESIRE OF MANY

Blog banner

Mariana Trench: The deepest depths

Blog banner

To-Do List In LISP

Blog banner

Every body is beautiful

Blog banner

Dal Bafla Recipe

Blog banner

Multicore and multithreading 171

Blog banner

PYTHON

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Friendship

Blog banner

CRISP-DM Methodology

Blog banner

Cache memory

Blog banner

WINDOWS I/ O

Blog banner

E-mail security

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

Types Of scheduling

Blog banner

Why Consistency in Eating Habits Matters and How Meal Maharaj Makes It Easy

Blog banner

Internet of Things and cyber security

Blog banner

Deadlock and Starvation

Blog banner

Loneliness

Blog banner

Modern operating system

Blog banner

Full Disk Encryption

Blog banner

KPMG (Klynveld Peat Marwick Goerdeler)

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

virtual machines and virtualization

Blog banner

Virtual Memory

Blog banner

Data Acquisition in Cyber Forensics

Blog banner