wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory

profile
Neha Mendapara
Jul 04, 2024
0 Likes
0 Discussions
135 Reads

Virtual memory in operating system is defined as technique of management of memory where main memory can be stored in secondary memory as if it is a part of it. So let us understand why is it called virtual memory? A memory management which provides an idealized representation of the storage resources available on a machine, creating the illusion for users of having a very large main memory. It is the space of HDD or SSD that acts as a part of system's RAM(Random Access Memory). Virtual Memory or Virtual Storage is enacted using "demand paging". A page is only loaded into memory when it is specifically referenced. Now let's grasp some knowledge about how virtual storage is operated. The operating system splits memory with a set number of addresses into pagefiles or swap files. The optimistic advantage of virtual memory are as follows:-

 1.Large Memory:-Virtual memory gives more storage area as compared to physically present in the system by utilizing disk space as an extension of physical RAM.

 2.Memory paging:- It divides memory into fixed-size blocks called pages so that day is allocated in an organized way

 3.Demand Paging: An optimization technique used with virtual memory where pages are loaded into RAM only when they are needed, rather than loading the entire program into memory at once. There are many advantages of it but as a coin has two sides there are some flaws also of it. Some of the disadvantages of Virtual Memory are as follows:-

  1. Complexity:-Virtual memory are complex to implement and maintain.They require sophisticated algorithms for page replacement, memory allocation, and address translation, which can be challenging to optimize and debug.
  2. Fragmentation in virtual memory systems can disrupt efficient memory allocation by either dividing free memory into non-contiguous small blocks (external fragmentation) or allocating more memory than is needed (internal fragmentation). These issues complicate memory management and can impair system performance. 
  3.  Security Risks:-Virtual memory poses security risks due to the potential exposure of sensitive data left in memory pages that are swapped out to disk without proper erasure. Effective management and encryption of swapped-out pages are essential measures to address these vulnerabilities.Virtual memory is crucial for modern operating systems as it allows efficient and flexible use of memory resources, enhancing overall system performance and usability.                         

Neha mendapara

53003230074

Div A


Comments ()


Sign in

Read Next

The Impact of Cyber Forensics on Corporate Governance and Compliance

Blog banner

Service Operations Principles

Blog banner

Deadlock and Starvation

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Multicore and Multithreading

Blog banner

Concurrency and memory

Blog banner

A Happier Workplace Starts with Healthy Lunches by Meal Maharaj

Blog banner

Deadlock

Blog banner

Open Source Project By Google

Blog banner

Memory

Blog banner

Os Virtual Memory

Blog banner

21ST CENTURY PATRIARCHY

Blog banner

Exploring Virtual Machines and Computer Forensic Validation Tools

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

Decoding Confusion Matrix

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

R Programming

Blog banner

RAID - LEVELS OF RAID

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Security Issues and Countermeasures

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

FRIENDSHIP

Blog banner

Direct Memory Access

Blog banner

Odoo

Blog banner

Hosting basics

Blog banner

Benefits of Yoga

Blog banner

Blockchain Transactions

Blog banner

A Journey By Train

Blog banner

Capacity management in ITSM

Blog banner

Disk Management

Blog banner

The Role of cryptography in cyber security

Blog banner

What is online marketing and why do you need to know about it ?

Blog banner

Race Condition

Blog banner

India Digital Personal Data Protection Act, 2023

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner

What is Vishing?

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

Memory Partitioning

Blog banner

Monday. com App

Blog banner