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

World’s rarest passport owned by 500 people.

Blog banner

The Features of Blockchain

Blog banner

Evolution of operating system

Blog banner

Operating system

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

Should you be using a mouthwash? Know from the experts

Blog banner

Why Makhana Is Becoming India’s Favourite Healthy Snack?

Blog banner

Fault Tolerance in an Operating System

Blog banner

Personalized Movie Recommendations with Data Science

Blog banner

Direct Memory Access

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Admissions Open: Why This Is the Right Time to Choose the Best School for Your Child

Blog banner

Virtualisation

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

ONLINE NEWSROOMS

Blog banner

How Unstructured Play Helps Children Become Creative Thinkers

Blog banner

Not anti-social, but pro-solitude

Blog banner

Policies for Service Transition

Blog banner

Uniprocessor and Types

Blog banner

MUTUAL EXCLUSION

Blog banner

Security and E-mail

Blog banner

Esri India launches Policy Maps.

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

Virtual Machine

Blog banner

bulk email software

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

Facebook Shut Down an AI Program!!! Facebook AI bots became Terminators???

Blog banner

Virtual Memory

Blog banner

Outlook mail

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner

Operating Systems Overview

Blog banner

Whatsapp Messenger

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Session Hijacking

Blog banner

Linux Virtual Machine Process Scheduling

Blog banner

Rapido

Blog banner

How To Secure Operating Systems ?

Blog banner

Deadlock

Blog banner

Virtual Memory

Blog banner

EVOLUTION OF THE MIRCOPROCESSOR

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

Cyber Laws In India and Around the World

Blog banner