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

An Approach To Spyware Detection And Removal

Blog banner

File management

Blog banner

The Benefits of Practical Life Activities in Preschool

Blog banner

From Model Mistakes to Metrics

Blog banner

Data Structures

Blog banner

MYNTRA

Blog banner

Daycare Centres Help Children Transition into Structured Learning

Blog banner

Virtual machine

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

Development Of Modern Operating System

Blog banner

Kernel Modes: User Mode vs. Kernel Mode - 80

Blog banner

What Is Experiential Learning and Why Does It Work Better Than Rote Learning?

Blog banner

Types of email

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

USPS mail

Blog banner

Health is Wealth

Blog banner

Beyond the Track: Why the Best Hotel in Arcadia, Florida, Completes Your IMSA Sebring Getaway

Blog banner

Deadlock and Starvation

Blog banner

Jio .....A Revolution ?? ??

Blog banner

Esri India launches Policy Maps.

Blog banner

NETWORK SECURITY RISKS

Blog banner

File management

Blog banner

Embracing the power of Modern Machine UNIX

Blog banner

How Laughing Gas Makes Your Dental Visit So Much Easier

Blog banner

Autonomy Vehicles: Future Ki Gadiya

Blog banner

How to use GIT & GITHUB

Blog banner

Memory Management in Operating System

Blog banner

Memory managment

Blog banner

KPMG (Klynveld Peat Marwick Goerdeler)

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

Deadlock and Starvation

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

AI and Data Science: Revolutionizing Industries

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

ProofHub

Blog banner

How Schools Can Reduce Exam Stress in Students?

Blog banner

Place to visit in pune

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Senseless Teeths

Blog banner

Memory heirachy (Operating system)

Blog banner

Memory Management of Operating System(OS)

Blog banner