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

RAID and It's Levels

Blog banner

OS Evolution Achievements

Blog banner

How to make Pancakes

Blog banner

E-learning

Blog banner

Process Creation

Blog banner

LINUX VSERVER VIRTUAL MACHINE ARCHITECTURE

Blog banner

Kernel in Operating System

Blog banner

Risk factors in service transistion

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

Tracking Emails & Email Crimes

Blog banner

Open Source Project By Google

Blog banner

Memory Management Techniques

Blog banner

RAID

Blog banner

Deadlock and Starvation

Blog banner

TRAIN TRAVELING

Blog banner

Cache memory

Blog banner

Tableau

Blog banner

Types of Threads

Blog banner

Article on IT development trends

Blog banner

The functions of operating system

Blog banner

operating system

Blog banner

Balance

Blog banner

Linux VServer Architecture

Blog banner

Deadlock

Blog banner

What is Minting & Mining

Blog banner

Worms, viruses and Bots

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

Brain wash of social media

Blog banner

SECURITY TOOLS

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

Data Visualization- Importance and tools (Tableau,Power BI, Matplotlib)

Blog banner

Unlocking Success: Mastering Google Ads Strategies

Blog banner

RAID

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Gamer life

Blog banner

10 Reasons to date your best friend

Blog banner

Rain

Blog banner

Deadlock and Starvation

Blog banner

All you need to know about “Off-page SEO”

Blog banner

virtual machine

Blog banner

Real time scheduling

Blog banner

Secure Hypertext transfer protocol

Blog banner