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

Big Data Architecture

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner

IP Address

Blog banner

computer security

Blog banner

Lifestyle of a photographer

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Financial Fraud Detection

Blog banner

Traditional UNIX Scheduling

Blog banner

Save Environment

Blog banner

Memory management

Blog banner

Next time you click on "Remind me later", think twice!

Blog banner

Does School Infrastructure Really Matter For Learning?

Blog banner

OPERATING SYSTEM

Blog banner

Data Science & AI

Blog banner

Deadlocks in operating system

Blog banner

Firewall

Blog banner

What Are Electro-Forged Gratings? Benefits, Applications, and Why Industries Prefer Them

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

Network Footprinting in Cybersecurity

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner

Excel records

Blog banner

Memory management

Blog banner

Solitary Play Activities for Preschoolers: Types and Benefits

Blog banner

Heart Fulness Meditation

Blog banner

The Future of Patola Weaving in a Sustainable Fashion World

Blog banner

Why Inconel 625 and Monel 400 Remain Unbeatable in Refinery Applications?

Blog banner

How return on investment is defined in IT services

Blog banner

Asana

Blog banner

Emailing the merger document

Blog banner

What are Virtual Machines

Blog banner

Memory Management

Blog banner

Linux VServer Architecture

Blog banner

How to Grow Your Brand on YouTube Without a Big Budget

Blog banner

Linux -V Server Virtual Machine

Blog banner

Men’s Mental Health: Breaking the Silence and Building Emotional Well-being

Blog banner

Threads Concurrency: Mutual Exclusion and Synchronization

Blog banner

Synchronization

Blog banner

Service Operations in ITSM

Blog banner

Visualization in Data Science

Blog banner

Life lesson

Blog banner

Process and Threading

Blog banner

Multiprocessor and Multicore Organization

Blog banner