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

DIGITAL TECHNOLOGY

Blog banner

History of Money

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

Caching windows

Blog banner

Operating system

Blog banner

Honeypot in cyber security

Blog banner

File Organization and Access

Blog banner

Diwali

Blog banner

How return on investment is defined in IT services

Blog banner

Install Ubuntu Easily

Blog banner

Earth with no trees

Blog banner

Uniprocessor scheduling

Blog banner

Instagram

Blog banner

What is a geographic information system (GIS)?

Blog banner

File management In Operating System

Blog banner

Raid

Blog banner

The Best Photography Spots in and Around Arcadia, Florida

Blog banner

Volatile Memory & Non-Volatile Memory Explained

Blog banner

IOT Hacking Techniques

Blog banner

What Makes Traditional God Keri Aachar So Special?

Blog banner

Os(Computer security threats)

Blog banner

Question

Blog banner

Healthy Eating on a Budget: How to Get More Nutrition From Every Meal

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

The Features of Blockchain

Blog banner

Loneliness

Blog banner

Why Progressive Web Apps (PWAs) Are Replacing Traditional Websites

Blog banner

An Overview of Virtual Machines

Blog banner

Save Environment

Blog banner

Blockchain Security Technique

Blog banner

How Preschool Annual Day Shapes Confidence, Emotions, and Growth

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

Starvation

Blog banner

MOVEMBER

Blog banner

Proton mail

Blog banner

Device driver

Blog banner

The Psychology of Diversity, Equity & Inclusion: How Inclusive Workplaces Boost Productivity

Blog banner

Some web vulnerabilities

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

JIRA SOFTWARE

Blog banner

Data Visualization in Decision-Making

Blog banner

IoT Evolution

Blog banner