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

A Short History of GIS

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Indian Culture and Tradition

Blog banner

Memory heirachy (Operating system)

Blog banner

Deadlock

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

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

Blog banner

SECURITY TOOLS

Blog banner

The most common internet security threats

Blog banner

Importance of modern technology era

Blog banner

Deadlock

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Threads

Blog banner

Booting Process In Operating System

Blog banner

VIRTUAL MACHINES

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

The Role of Frontline Managers in Driving Workplace Performance and Customer Satisfaction

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Importance of Website

Blog banner

Teamwork

Blog banner

security controls

Blog banner

Fitness

Blog banner

Elegant fashion style

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

“CONSISTENCY” in Social Media Marketing

Blog banner

A Heartfelt Act of Kindness

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

How to insert contacts in zoho crm using php

Blog banner

INTRANET

Blog banner

Fault Tolerance

Blog banner

What is a Malware ?

Blog banner

Trends that began during the pandemic

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Embracing the power of Modern Machine UNIX

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

Direct Memory Access

Blog banner

Expert System In AI

Blog banner

Ethical Issues in Data Science and Role of Data Science in Smart Cities

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

Deadlocks in Operating System

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner