wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Virtual memory

profile
Anam Maruf
Aug 13, 2024
0 Likes
0 Discussions
95 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

E-mail security

Blog banner

Security issues

Blog banner

Sweet Mango Murabba

Blog banner

R Programming

Blog banner

Why Dry Fruits Make the Perfect Gifting Choice for Every Occasion?

Blog banner

Embaded operating system

Blog banner

Hubspot

Blog banner

File management

Blog banner

Cycling

Blog banner

Child labour

Blog banner

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

Deadlock

Blog banner

Multiprocessor

Blog banner

Ola

Blog banner

Linker

Blog banner

Outlook mail

Blog banner

E-learning in today's world

Blog banner

Blockchain Security Technique

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Chicken Dum Biryani

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

Data Exfiltration

Blog banner

Service Strategy In ITSM

Blog banner

Evolution of operating systems

Blog banner

OS Evolution Achievements

Blog banner

Is It Too Late to Straighten My Teeth as an Adult?

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Hacking

Blog banner

10 Unknown facts about India's Independence

Blog banner

Article on Team Work

Blog banner

Article on Zoho Corporation

Blog banner

Starvation and Deadlock.

Blog banner

SQL Injection practice on DVWA

Blog banner

About myself

Blog banner

Getting started with Android Studio

Blog banner

SNAPCHAT

Blog banner

I/O Management and Disk Scheduling

Blog banner

Latest Email Marketing Techniques

Blog banner

Multiprocessor and scheduling

Blog banner

HTML vs HTML5

Blog banner

File Systems in OS.

Blog banner