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

Service transition principles

Blog banner

Virus

Blog banner

Game Theory in Blockchain

Blog banner

Memory management

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

Importance of self defence for girls

Blog banner

Why Data Security Is Important

Blog banner

Cyber Security Standards

Blog banner

On-Page SEO

Blog banner

Zomato (Income Sources)

Blog banner

File management In Operating System

Blog banner

Big Data

Blog banner

TEAMWORK

Blog banner

Penetration Testing

Blog banner

Should you be using a mouthwash? Know from the experts

Blog banner

INTERNET

Blog banner

Worms, viruses and Bots

Blog banner

Explaining Buffer Overflow with Example

Blog banner

Buffers in Operating Systems

Blog banner

Sweet Mango Murabba

Blog banner

Threads and concurrency

Blog banner

File management

Blog banner

Firewall in Computer Network

Blog banner

LISP - Library Management System

Blog banner

Synchronization

Blog banner

Operating System

Blog banner

CyberSecurity Color Wheel

Blog banner

10 Survival Tips that might save your life

Blog banner

Deadlock in Operating systems

Blog banner

Child labour

Blog banner

Odoo

Blog banner

Embedded Operating System

Blog banner

"Life as a Part-time Student"

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

Multiprocessor and Multicore Organization

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

Session Hijacking

Blog banner

What are Virtual Machines

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

Evolution of Operating system.

Blog banner

Man is free by the birth .

Blog banner