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

Memory Management in an Operating System

Blog banner

SAVE TREES

Blog banner

Network Forensics Tools and Techniques

Blog banner

Importance of self defence for girls

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

Service Design Principles

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

Virtual memory in os

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Smartsheet

Blog banner

RAID

Blog banner

How covid-19 impacted Social media ad spend forecast globally

Blog banner

I/O Management and Disk Scheduling

Blog banner

Social engineering in cyber security

Blog banner

Assignment-3

Blog banner

Whatsapp Messenger

Blog banner

Semaphores

Blog banner

Top 10 Logos and their meanings

Blog banner

Hacking of web server and application

Blog banner

Network Security Risks

Blog banner

Principles of Concurrency

Blog banner

AI and Data Science: Revolutionizing Industries

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

OS PROCESS DESCRIPTION AND CONTROL-SARVAGYA JALAN

Blog banner

Buffer Overflow

Blog banner

What is Segmentation?

Blog banner

Data Science & AI

Blog banner

Operating system

Blog banner

Buffers in Operating Systems

Blog banner

Memory Management

Blog banner

What is a Malware ?

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

Social Media Sentiment Analysis

Blog banner

Direct Memory Access

Blog banner

Mumbai local ......

Blog banner

Concurrency management in operating systems

Blog banner

KAHAWA TEA

Blog banner

AI & Data Science in Healthcare – Predicting diseases, medical imaging analysis

Blog banner

What are Virtual Machines

Blog banner

ZOHO

Blog banner

SECURITY VULNERABILITIES COUNTERMEASURES IN A SMART SHIP SYSTEM

Blog banner