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

Veg Mix Pickle

Blog banner

Memory Management

Blog banner

Every body is beautiful

Blog banner

How to tie a Tie

Blog banner

FILE SHARING

Blog banner

Best password managers: Reviews of the top products

Blog banner

Blog on Smartsheet.

Blog banner

Virtual memory

Blog banner

VIRTUAL MEMORY

Blog banner

Operating system

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Apache Spark :- Powerful Data Processing Tool

Blog banner

Digital Life And Mental Health: A Psychological Perspective in the Modern World

Blog banner

Impacts of Data Breach On Companies Challenges and Prevention

Blog banner

Deadlock

Blog banner

Proof-of-Stake (PoS)

Blog banner

Deadlock Prevention

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner

Traditional Unix System

Blog banner

Article on different management system

Blog banner

10 Interesting facts you should know!!!

Blog banner

Full Disk Encryption

Blog banner

Buffering

Blog banner

Disk Management

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

Basic Security For SOAP Services

Blog banner

From Model Mistakes to Metrics

Blog banner

Design Considerations for Disk Cache Management

Blog banner

All you need to know about Cassandra

Blog banner

Security requirements for Safe E-Payments

Blog banner

R Programming

Blog banner

Expert System In AI

Blog banner

I Personally

Blog banner

BLOCKCHAIN MACHANISM

Blog banner

File System

Blog banner

Operating system

Blog banner

Volatile Memory &amp; Non-Volatile Memory Explained

Blog banner

Define Instagram.

Blog banner

Android Flashlight Application

Blog banner

Cache memory

Blog banner