wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory

profile
Neha Mendapara
Jul 04, 2024
0 Likes
0 Discussions
137 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

Os(Computer security threats)

Blog banner

Fault Tolerance in an Operating System

Blog banner

Cache Memory

Blog banner

Cyber Laws In India and Around the World

Blog banner

Topic: Sessions in Operating system

Blog banner

Clustering Techniques

Blog banner

I Personally

Blog banner

Man VS Nature

Blog banner

Why Kanye West (Now Ye) is the GOAT: A Legacy Beyond Music

Blog banner

Importance Of Education.

Blog banner

Memory management

Blog banner

How to insert contacts in zoho crm using php

Blog banner

Fashion marketing in india

Blog banner

This too shall pass

Blog banner

Virtual Machine

Blog banner

Getting to Kashmir: Alternative to the Jammu-Srinagar highway

Blog banner

Virtual Machine

Blog banner

The art of being alone

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Security in Cloud Computing

Blog banner

What is Data, Information and Knowledge?

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

All you need to know about “On-page SEO”

Blog banner

Deadlock and starvation

Blog banner

WomenEmpowerment

Blog banner

The application udemy

Blog banner

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

Blog banner

Evolution of Operating System

Blog banner

Starvation and Deadlock.

Blog banner

File management

Blog banner

I/O Buffering

Blog banner

Street foods

Blog banner

What is Brute Force Attack? How to defend against it?

Blog banner

The Future of Web Development in 2026: Trends Every Business Must Know

Blog banner

LTE Technology

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

Concurrency and memory

Blog banner

Veg/Non-veg/Egg Tiffin Meals That Are Nutritious and Filling

Blog banner

Online Games

Blog banner

What are NFT s?

Blog banner

What is Spyware? and examples of them.

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner