wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory

profile
Anam Maruf
Aug 13, 2024
0 Likes
0 Discussions
93 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

Virtual Machine

Blog banner

Virtual memory

Blog banner

Deadlock and Starvation

Blog banner

Supervised and Unsupervised Learning

Blog banner

From Airboat Tours to Fossil Hunting: The Ultimate Arcadia Travel Experience

Blog banner

Virtual Memory

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner

Microsoft Windows Overview

Blog banner

Simple STEM Activities for Toddlers That Spark Curiosity

Blog banner

Types of Malware in Cyber Security

Blog banner

Operating Systems

Blog banner

Interrupts - Types, Working & Importance

Blog banner

Emerging threats in cyber Forensics

Blog banner

Question

Blog banner

Vulnerability Assessment

Blog banner

Review on Recovering Deleted Files

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

Office Lunch Problems in Mumbai and How Tiffin Services Solve Them

Blog banner

ADIDAS

Blog banner

How to lose belly fat

Blog banner

Supervised and unsupervised learning

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Virtual machine and virtualizing

Blog banner

5 People who claimed to have Time Traveled

Blog banner

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

Blog banner

Capacity management in ITSM

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

What Your Child Learns During Free Play (That You Might Not Notice)

Blog banner

Sessions In OS.

Blog banner

OPERATING SYSTEM

Blog banner

File system

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

Virtual Machine

Blog banner

The Features of Blockchain

Blog banner

(Input/Output) in os

Blog banner

10 Reasons to date your best friend

Blog banner

Mariana Trench: The deepest depths

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Firewall

Blog banner

Multicore CPUs

Blog banner