wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory managment

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

security requirements for safe e-payment

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner

Memory Management of Operating System(OS)

Blog banner

Stephen Hawking : A Remarkable Physicist

Blog banner

Virtual memory

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

What is HTML?

Blog banner

How can denial-of-service(Dos) attacks be prevented?

Blog banner

INTERNET

Blog banner

HOW CAN SOCIAL MEDIA MAKE YOU HAPPIER?

Blog banner

Virtual Memory

Blog banner

Data Mapping

Blog banner

Goa Trip With Friends

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

Smart Eating Habits for Office Professionals to Stay Healthy

Blog banner

Threads Concurrency: Mutual Exclusion and Synchronization

Blog banner

The Sunny Side of Instagram

Blog banner

Operating System

Blog banner

How To Implement Search Engine Marketing (Sem) Strategy Effectively

Blog banner

Different types of scam frauds

Blog banner

DIGITAL ECONOMY

Blog banner

Disk Management

Blog banner

Introduction to Virtual Memory - 080

Blog banner

File system

Blog banner

The Role of Fibre in Everyday Nutrition and Digestive Health

Blog banner

Amazon

Blog banner

To travel is to live

Blog banner

Evolution of the Microprocesor

Blog banner

Mumbai local ......

Blog banner

Online Games

Blog banner

Biometric Authentication Vulnerabilities

Blog banner

MACHINE LEARNING

Blog banner

A Day in the Life at Elzee: What Your Child Does Between Drop-Off and Pick-Up

Blog banner

Self defence

Blog banner

Number Guessing game --lisp

Blog banner

GraphQL

Blog banner

What is thread and multithreading ?

Blog banner

Every body is beautiful

Blog banner

Memory Management

Blog banner

7 Perks of Getting Your Teeth Whitening Done Professionally

Blog banner

What is Influencer Marketing and its Trends

Blog banner