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

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

Theads

Blog banner

Note on Process, Process creation and Process termination

Blog banner

What is Segmentation?

Blog banner

A book review

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

Diwali

Blog banner

Memory Management

Blog banner

Gis in agriculture and farming

Blog banner

Use case of K-means clustering

Blog banner

How Preschool Annual Day Shapes Confidence, Emotions, and Growth

Blog banner

Buffering

Blog banner

Cherish the Craft — Essential Tips to Maintain Your Patola Collection

Blog banner

OLA

Blog banner

Memory Management

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

Eating Well With Meal Maharaj on Busy Workdays Without Cooking

Blog banner

Hot Mango Pickle (Methiyu)

Blog banner

Philadelphia Experiment : Was it real?

Blog banner

Spyware

Blog banner

Policies for Service Transition

Blog banner

File management

Blog banner

Functions of Operating System

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

Cyber Forensics on IOT Devices

Blog banner

Memory management and virtual memory

Blog banner

Uniprocessor Scheduling

Blog banner

Virtual Machine

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

Game Theory in Blockchain

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

Deadlock

Blog banner

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

Blog banner

IoT Evolution

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

Autonomy Vehicles: Future Ki Gadiya

Blog banner

The Evolution of the Microprocessor ~ Aditya Pai

Blog banner

Service Transition Process in ITSM

Blog banner

How to setup a professional looking business account on Instagram?

Blog banner

Firewall in Computer Network

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

Types of Threads

Blog banner