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

KAHAWA TEA

Blog banner

Cyber Security Standards

Blog banner

Heart Fulness Meditation

Blog banner

This is my first blog.

Blog banner

THE DESIRE OF MANY

Blog banner

Uniprocessor and Types

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

I/O Buffering

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

Deadlocks in operating system

Blog banner

INTERNET

Blog banner

Memory Management

Blog banner

Music

Blog banner

Remote Work in 2026

Blog banner

Cache memory

Blog banner

GraphX:- A graph processing tool

Blog banner

MACHINE LEARNING

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

PERT Overview

Blog banner

Network Forensics Tools and Techniques

Blog banner

Indian Culture and Tradition

Blog banner

Microsoft powerpoint presentation

Blog banner

Solving Problems with AI: The Power of Search Algorithms

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

Why Meal Maharaj Prioritises Seasonal Vegetables in Every Meal Box

Blog banner

Virtual memory in os

Blog banner

Privacy in Social Media and Online Services

Blog banner

Spotify

Blog banner

Virtualisation

Blog banner

Virtual machine

Blog banner

The Joy of Giving: How Festivals Teach Children Empathy and Gratitude

Blog banner

Types of Threads

Blog banner

AI and Cyber Security

Blog banner

What is Data, Information and Knowledge?

Blog banner

Deadlocks in Operating Systems

Blog banner

ODOO

Blog banner

Linux Threads:

Blog banner

Cache Memory

Blog banner

Does School Infrastructure Really Matter For Learning?

Blog banner

Access management

Blog banner