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

Embaded operating system

Blog banner

Operating Systems

Blog banner

Dancing Classes In Mumbai

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

APACHE KAFKA

Blog banner

BrainGate Technology

Blog banner

Should you be using a mouthwash? Know from the experts

Blog banner

Virtual Memory - Explaination, Working, Steps

Blog banner

Simple STEM Activities for Toddlers That Spark Curiosity

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Threads Concurrency: Mutual Exclusion and Synchronization

Blog banner

Process Description

Blog banner

Cloud Computing

Blog banner

OS Assignment 3

Blog banner

The Features of Blockchain

Blog banner

Major achievement

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

A Heartfelt Act of Kindness

Blog banner

Cyber-crime Investigation and Future Directions

Blog banner

Interrupts

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

From Airboat Tours to Fossil Hunting: The Ultimate Arcadia Travel Experience

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

Confidence Building Activities for the New School Year

Blog banner

HubSpot

Blog banner

Emailing the merger document

Blog banner

Mendeley (management software)

Blog banner

Meshoo

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

Juveniles, Internet and Computer Crime

Blog banner

File management

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

Technological Advancement

Blog banner

Race Condition in Operating Theatre

Blog banner

Office Lunch Problems in Mumbai and How Tiffin Services Solve Them

Blog banner

Remote Work in 2026

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Virtual machine

Blog banner

What Your Child Learns During Free Play (That You Might Not Notice)

Blog banner