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

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

Telegram and it's features

Blog banner

VIRTUAL MEMORY

Blog banner

Short note on Microsoft office

Blog banner

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

Blog banner

MEMORY MANAGEMENT

Blog banner

Modern operating system

Blog banner

The Role of cryptography in cyber security

Blog banner

All you need to know about “Off-page SEO”

Blog banner

What does the Australian summer have in store for your oral health?

Blog banner

ONLINE NEWSROOMS

Blog banner

Toothache at night? What does this mean, and how to cope with it?

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

File management

Blog banner

STUDY OF SYSTEM HACKING TOOLS

Blog banner

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

Personalized Movie Recommendations with Data Science

Blog banner

Eating Well With Meal Maharaj on Busy Workdays Without Cooking

Blog banner

TRIGGERS IN DATABASE

Blog banner

Amazon

Blog banner

The Chapped Lips and Dry Mouth Trap: The Sneaky Reason Cavities Spike in Winter

Blog banner

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

Blog banner

Memory Management in Operating System

Blog banner

Data Science in Mental Health Prediction

Blog banner

Direct Memory Access

Blog banner

Virtual Memory

Blog banner

Cross site scripting Attack

Blog banner

Modern operating system

Blog banner

Love is in air.....

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

Data Mapping

Blog banner

virtual machine

Blog banner

Decoding Confusion Matrix

Blog banner

Direct memory access (DMA)

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Child labour

Blog banner

RAID

Blog banner

Business Engineering

Blog banner

Tracking Emails & Email Crimes

Blog banner

Swiggi

Blog banner

Emailing the merger document

Blog banner

Network Security Risks

Blog banner