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

Operating Systems

Blog banner

Dancing Classes In Mumbai

Blog banner

Evolution of Operating system

Blog banner

LIMITED EDITION

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

LIFEHACKER

Blog banner

Race Condition

Blog banner

I/O Management and Disk Scheduling

Blog banner

RACI model in IT services

Blog banner

Why Does Hierarchy Still matter in Organizations?

Blog banner

INSTAGRAM

Blog banner

Deming’s Process

Blog banner

Instagram

Blog banner

Bit Coins

Blog banner

John Titor: The Time Traveler

Blog banner

IoT Evolution

Blog banner

Exploring Florida Beyond the Obvious Tourist Trails

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

Memory management

Blog banner

A Tourist’s Guide To Florida’s Rodeo Culture: What To Expect At The Arcadia Championship Rodeo

Blog banner

Uniprocessor scheduling

Blog banner

Google

Blog banner

Cache Memory(142)

Blog banner

Digital Forensics Challenges and Tools

Blog banner

Precision-Recall in Data Science

Blog banner

Modern operating system

Blog banner

Fun Christmas Activities For Toddlers & Kids

Blog banner

Define Instagram.

Blog banner

Concept and definition of m-commerce

Blog banner

You'll get to know about Pankaj Negi

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

"Geographic Information Systems (GIS) and its Applications in Urban Planning"

Blog banner

Cache Memory

Blog banner

Measuring IT Risk

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

Race Conditions

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

Blockchain Transactions

Blog banner

Clustering Techniques

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

Importance Of Yoga.

Blog banner

BIRYANI ! The history you never knew about

Blog banner