wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory

profile
Anam Maruf
Aug 13, 2024
0 Likes
0 Discussions
96 Reads

Virtual memory is a memory management technique used by operating systems to give the appearance of a large, continuous block of memory to applications, even if the physical memory (RAM) is limited. It allows the system to compensate for physical memory shortages, enabling larger applications to run on systems with less RAM.

It is a technique that is implemented using both hardware and software. It maps memory addresses used by a program, called virtual addresses, into physical addresses in computer memory. 

  • All memory references within a process are logical addresses that are dynamically translated into physical address at run time. This means that a process can be swapped in and out of the main memory such that it occupies different places in the main memory at different times during the course of execution.
  • There are two main types of virtual memory:

    • Paging
    • Segmentation
    • Paging divides memory into small fixed-size blocks called pages. When the computer runs out of RAM, pages that aren’t currently in use are moved to the hard drive, into an area called a swap file. The swap file acts as an extension of RAM. When a page is needed again, it is swapped back into RAM, a process known as page swapping. This ensures that the operating system (OS) and applications have enough memory to run

    •  

      Segmentation divides virtual memory into segments of different sizes. Segments that aren’t currently needed can be moved to the hard drive. The system uses a segment table to keep track of each segment’s status, including whether it’s in memory, if it’s been modified, and its physical address. Segments are mapped into a process’s address space only when needed.


Comments ()


Sign in

Read Next

Rain bow

Blog banner

What Makes a School Safe, Supportive, and Student-Friendly

Blog banner

How return on investment is defined in IT services

Blog banner

Virtual machine and virtualizing

Blog banner

Data Exfiltration

Blog banner

Breaking the Cycle of Loneliness : Protecting your Mental Health Through meaningful Connection ( Part — 2)

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

INTRODUCTION

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

Vulnerability Assessment

Blog banner

Memory management

Blog banner

Zoho

Blog banner

Dos (Denial of service) Attack

Blog banner

Beatbox

Blog banner

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

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Constrained Management in IT

Blog banner

Why Friendship at Work is Important

Blog banner

Junk food vs healthy food

Blog banner

Best password managers: Reviews of the top products

Blog banner

What is E-commerce

Blog banner

Street foods

Blog banner

The Role of cryptography in cyber security

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

Telegram and it's features

Blog banner

Proton mail

Blog banner

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

Blog banner

Technical Challenges and Directions for Digital Forensics

Blog banner

Cherish the Craft — Essential Tips to Maintain Your Patola Collection

Blog banner

memory management

Blog banner

What is Email? Uses of Emails

Blog banner

Study on cyber and network forensic in computer security management

Blog banner

MIDDLE CLASS MELODIES!!

Blog banner

Deadlock

Blog banner

How Personalised Gifts Create Lasting Memories for Children?

Blog banner

Does School Infrastructure Really Matter For Learning?

Blog banner

Love is in air.....

Blog banner

Can a Water Flosser Replace Manual Flossing? Here’s What Dentists Say

Blog banner

Interesting fact about kangaroo.

Blog banner

ONLINE NEWSROOMS

Blog banner

Decoding Confusion Matrix

Blog banner

Different memory allocation strategies

Blog banner