wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory managment

profile
Umang Vora
Jul 05, 2024
0 Likes
0 Discussions
6 Reads

Memory management in an operating system (OS) is like a librarian managing books in a library. Here’s how it works in simple terms:

 

1. **Allocation and Deallocation**: Imagine programs as people borrowing books (memory) from the library. The librarian (OS) gives books to people when they need them and takes the books back when they’re done.

 

2. **Memory Protection**: Each person should only read their own books and not mess with someone else’s. The librarian ensures that people don't take or modify each other’s books.

 

3. **Memory Sharing**: Sometimes, several people might need to read the same book. The librarian lets them share it instead of giving out multiple copies, saving space.

 

4. **Virtual Memory Management**: If the library runs out of physical space (RAM), the librarian can use some space in the back storage (hard disk) to keep extra books. This makes the library seem bigger than it really is.

 

5. **Memory Mapping**: The librarian can make some books available quickly by placing them in a special, easy-to-access area. This is useful for frequently used books.

 

6. **Garbage Collection**: Sometimes, people leave books lying around when they’re done. The librarian goes around and picks up these unused books to put them back on the shelves, making room for others.

 

Overall, memory management ensures that programs run smoothly by efficiently handling the computer's memory, much like a well-organized library where everyone can find and use the books they need.


Comments ()


Sign in

Read Next

What is service level Agreement?

Blog banner

Virtual machine

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

What's Better : Supervised or Unsupervised Learning

Blog banner

Interrupts - Types, Working & Importance

Blog banner

Constrains in service design

Blog banner

Direct Memory Access

Blog banner

Why do you need a personalised bag tag for your kids' school bags?

Blog banner

How to grow followers on Instagram business account?

Blog banner

Full Disk Encryption

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

Coping with Diagnosis Shock

Blog banner

Social engineering in cyber security

Blog banner

Asana

Blog banner

LEMON PICKLE SWEET AND MILD HOT

Blog banner

Types of Threads

Blog banner

RAID

Blog banner

Modern operating system

Blog banner

Vaping vs. Chewing Gum: The Hidden ‘Stress Fix’ Destroying Sydney’s Teeth

Blog banner

Uniprocessor scheduling

Blog banner

Service stratergy principles

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

Multithreading in Operating System

Blog banner

LINUX

Blog banner

Save Environment

Blog banner

RAID - LEVELS OF RAID

Blog banner

Memory Management

Blog banner

Mariana Trench: The deepest depths

Blog banner

The Human Side of Healing: Why Technology should Support, Not Replace, Psychotherapy

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

Cloud Security: Trends and Innovations

Blog banner

Modern OS

Blog banner

Mutual exclusion

Blog banner

Blockchain Security Technique

Blog banner

IoT Evolution

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

Why Your Child Cries at Drop-Off and How Preschools Handle It Gently

Blog banner

Texting is actually better than talking in person

Blog banner

Different types of scam Fraud

Blog banner

Microsoft Windows Overview

Blog banner

Jira Software

Blog banner

Why Progressive Web Apps (PWAs) Are Replacing Traditional Websites

Blog banner