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

Virtualisation

Blog banner

M commerce

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Reconnaissance

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

To travel is to live

Blog banner

Starting Android Activity Using Intent

Blog banner

File System

Blog banner

Self-love: Being the reason of your own smile

Blog banner

Security Issues

Blog banner

Operating system

Blog banner

Direct Memory Access

Blog banner

SAVE TREES

Blog banner

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

Blog banner

Message Passing in OS

Blog banner

Blockchain uses and use cases

Blog banner

THE DESIRE OF MANY

Blog banner

How to Conquer Depression ?

Blog banner

Yahoo! mail

Blog banner

AOL Mail

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

How To Implement Search Engine Marketing (Sem) Strategy Effectively

Blog banner

Beauty of indian railway

Blog banner

Embedded Operating System

Blog banner

Modern Operating System

Blog banner

Race condition

Blog banner

Ola

Blog banner

Modern Operating System - Suren Kotian

Blog banner

Challenges of Digital forensics in cloud computing environment

Blog banner

Process states

Blog banner

GIS in Disaster Management

Blog banner

Power of words

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

The Dark Web: A Breeding Ground for Cybercriminals – How to Guard Against Threats

Blog banner

memory cache

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

Linux Memory Management

Blog banner

Deadlock in operating system

Blog banner

File Management

Blog banner

Solving Problems with AI: The Power of Search Algorithms

Blog banner