wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory managment

profile
Umang Vora
Jul 05, 2024
0 Likes
0 Discussions
2 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

WomenEmpowerment

Blog banner

"Life as a Part-time Student"

Blog banner

Uniprocessor scheduling

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

USES OF WHATSAPP

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

Kernel in Operating System

Blog banner

Deadlock and starvation

Blog banner

Cryptanalysis tool

Blog banner

Security issues

Blog banner

Bit Coins

Blog banner

Outlook mail

Blog banner

Data Structures

Blog banner

How to make Pancakes

Blog banner

I/O Buffering

Blog banner

Cyber Laws In India and Around the World

Blog banner

5 Stages of Digital Marketing

Blog banner

(Input/Output) in os

Blog banner

Outlook.com

Blog banner

Data Science & AI

Blog banner

BUSINESS MODELS OF E COMMERCE

Blog banner

RAID

Blog banner

Layers Of Blockchain

Blog banner

INTRODUCTION

Blog banner

An Approach To Spyware Detection And Removal

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

semaphores

Blog banner

GraphQL

Blog banner

Protect yourself from System Hacking with these Simple Steps

Blog banner

THE ACTORS LIFE

Blog banner

Docker Framework

Blog banner

Some web vulnerabilities

Blog banner

Music

Blog banner

memory cache

Blog banner

Deadlock in operating system

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

History of ITIL

Blog banner

LIFEHACKER

Blog banner

Deadlocks in Operating System

Blog banner

Modern OS

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner