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

Threads

Blog banner

5 Things I As A Dentist Would Never Do (And What You Can Learn From It)

Blog banner

Virtual Memory

Blog banner

Biometric Authentication and Privacy: Balancing Ethical Concerns

Blog banner

Data Exfiltration

Blog banner

Buffer overflow

Blog banner

Multiprocessor scheduling

Blog banner

Visualization in Data Science

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

OPERATING SYSTEM

Blog banner

Principles of Service Operation

Blog banner

S-Tool : Steganography

Blog banner

Computer security techniques

Blog banner

How Laughing Gas Makes Your Dental Visit So Much Easier

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

Operating system evolution

Blog banner

Worms, viruses and Bots

Blog banner

Continual service improvement vs maintenance phase in IT

Blog banner

CYBER FORENCIS: PAST, PRESENT AND FUTURE.

Blog banner

CSI and Organizational Change

Blog banner

Clarizen

Blog banner

Service transition principles

Blog banner

Multiprocessor and Multicore Organization

Blog banner

SPEM

Blog banner

How To Invest in Indian Stock Market For Beginners. ~ Tutorial 2 (NSDL And CSDL) Continued...

Blog banner

Design Considerations for Disk Cache Management

Blog banner

Deadlock and Starvation

Blog banner

The Importance of Data Quality Management in Data Science

Blog banner

Elegant fashion style

Blog banner

To travel is to live

Blog banner

Short note on expert system

Blog banner

operating system

Blog banner

Memory management and virtual memory

Blog banner

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

Blog banner

Kafka - A Framework

Blog banner

Introduction my self

Blog banner

Indian Food

Blog banner

Service transistion under difficult conditions

Blog banner

Who decides your overthinking, anyway?

Blog banner

Safeguarding Your Data: The Importance of Wireless Encryption

Blog banner

Development Of Modern Operating System

Blog banner