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

File Allocation Methods

Blog banner

Khau Galli – Vile Parle

Blog banner

Metasploit

Blog banner

Proof-of-Stake (PoS)

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

WAKE UP ITS FOOD o'CLOCK...!!!!!

Blog banner

Simple STEM Activities for Toddlers That Spark Curiosity

Blog banner

Layers Of Blockchain

Blog banner

What is a geographic information system (GIS)?

Blog banner

Blockchain technology: security risk and prevention

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

How Traditional Indian Foods Can Support a Modern Lifestyle

Blog banner

How to Manage Business Invoices and Payments Easily?

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

Record Blocking

Blog banner

Beauty of indian railway

Blog banner

Why Moms Are Choosing Customised School Accessories Over Generic Products?

Blog banner

Why Kanye West (Now Ye) is the GOAT: A Legacy Beyond Music

Blog banner

Security in Cloud Computing

Blog banner

Security and E-mail

Blog banner

Disk scheduling

Blog banner

Zero-Day Attack

Blog banner

Network Forensics Tools and Techniques

Blog banner

Exploring Virtual Machines and Computer Forensic Validation Tools

Blog banner

Cache memory

Blog banner

MEMORY HIERARCHY

Blog banner

Why Businesses Are Investing More in Automation than Advertising?

Blog banner

About myself

Blog banner

Revolutionary AI Tool: ChatGPT

Blog banner

Answer

Blog banner

Google

Blog banner

Why Inconel 625 and Monel 400 Remain Unbeatable in Refinery Applications?

Blog banner

Virtualisation

Blog banner

virtual machine

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

Health is Wealth

Blog banner

A Weekend of Wildlife, Rivers, and Relaxation in Southwest Florida

Blog banner

Booting Process In Operating System

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Big O Notation

Blog banner

This is my first blog.

Blog banner

Memory Management in an Operating System

Blog banner