wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual Memory - Explaination, Working, Steps

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

social media issue

Blog banner

Digital marketing spotlight “Dove’s Real Beauty Campaign”

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Memory Management in an Operating System

Blog banner

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

Uber

Blog banner

URL vs Domain

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

MQTT (MQ Telemetry Transport) in Data Science

Blog banner

Smart Shoephone: Is that technology overdose!?

Blog banner

Theads

Blog banner

Memory Management in Operating System

Blog banner

EFT

Blog banner

10 Types of Friends in every friend group

Blog banner

What is Email? Uses of Emails

Blog banner

Odoo

Blog banner

I Personally

Blog banner

evolution of operating system - Disha Parekh

Blog banner

Culture Of Ladakh

Blog banner

MOVEMBER

Blog banner

Memory managment

Blog banner

Operating system

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Explaining Buffer Overflow with Example

Blog banner

Random Forests

Blog banner

Memory input output management

Blog banner

Man In The Middle Attack

Blog banner

Denial-of-Service and Distributed Denial-of-Service Attack Techniques

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

To-Do List In LISP

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Why You Should Not Use Free VPNs

Blog banner

Challenges and risks in service operations

Blog banner

Cache Memory

Blog banner

Hash password! Is it really secured?

Blog banner

Components of GIS

Blog banner

Annual Day Preparation for Toddlers: What Helps and What to Avoid

Blog banner

Data Visualization- Importance and tools (Tableau,Power BI, Matplotlib)

Blog banner

Digital Marketing

Blog banner

Vikrant’s first blog

Blog banner

Memory Management of Operating System(OS)

Blog banner

Operating Systems

Blog banner