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

Importance of self defence for girls

Blog banner

Save Environment

Blog banner

Traditional Unix System

Blog banner

bulk email software

Blog banner

Windows Operating System

Blog banner

Broken Authentication Attacks

Blog banner

How Unstructured Play Helps Children Become Creative Thinkers

Blog banner

How I use google in my daily life

Blog banner

Hacking Mobile Platforms

Blog banner

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

Blog banner

Perfectionism and High-Performance culture

Blog banner

Memory management and virtual memory

Blog banner

Technical SEO : Total Guide

Blog banner

Life of an army person

Blog banner

How to Add Super Seeds to Your Everyday Meals: Easy & Healthy Ideas

Blog banner

Why Dry Fruits Make the Perfect Gifting Choice for Every Occasion?

Blog banner

Overcoming the bedtime brushing Battle with Dr. Roxanne Irani, Dentist in Maroubra

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

The art of being alone

Blog banner

SQL Injection Techniques

Blog banner

I/O Management and Disk Scheduling

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Mumbai

Blog banner

Service Strategy principles

Blog banner

Multicore and multithreading 171

Blog banner

CSI and Organizational Change

Blog banner

CBSE + International Thinking: How Indian Schools Are Producing World-Ready Students

Blog banner

Why Peace River Is Florida’s Most Underrated Outdoor Adventure Destination?

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

Deadlocks in operating system

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner

Sagar Parikrama

Blog banner

Penetration Testing

Blog banner

Evolution of Operating system

Blog banner

Data carving - using hex editor

Blog banner

Review on Recovering Deleted Files

Blog banner

GEOLOGY AND GEO-TECTONIC FRAME WORK OF WESTERN BASTAR CRATON

Blog banner

Game via listing method

Blog banner

Zero-Click Searches: How To Stay Visible In Google’s New Era

Blog banner

Buffer overflow

Blog banner

Oracle Corporation

Blog banner