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

Malicious softwares

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

HOW CAN SOCIAL MEDIA MAKE YOU HAPPIER?

Blog banner

The Power of Teamwork: Learning Collaboration Through Everyday Activities

Blog banner

Predictive Analytics: How Data Science Predicts Trends(Weather ,Stock Market,Sales Forecasting ).

Blog banner

Ola

Blog banner

Secure Hypertext transfer protocol

Blog banner

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

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

What is a Malware ?

Blog banner

Objectives and Functions of Operating System

Blog banner

Electronic Funds Transfer

Blog banner

objectives and function of operating system

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

Deadlock

Blog banner

Threads

Blog banner

Design Considerations for Disk Cache Management

Blog banner

virtual machine

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

LISP - Library Management System

Blog banner

Ransomware

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

Virtual Memory

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

Autonomy Vehicles: Future Ki Gadiya

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

WomenEmpowerment

Blog banner

What are Virtual Machines

Blog banner

Pipedrive

Blog banner

Blockchain in IoT Applications

Blog banner

Bots and Cyber Security

Blog banner

Network Security Risks

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

AI & Data Science in Healthcare – Predicting diseases, medical imaging analysis

Blog banner

Data Mapping

Blog banner

My Favorite Country

Blog banner

Why Consistency in Eating Habits Matters and How Meal Maharaj Makes It Easy

Blog banner

Uniprocessor Scheduling

Blog banner

Threads and concurrency

Blog banner

Different Types of Data

Blog banner

Measuring IT Risk

Blog banner