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

Teenagers of Today

Blog banner

Cache memory

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

Importance of education

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

MIDDLE CLASS MELODIES!!

Blog banner

ahh wait a min

Blog banner

HACKING MOBILE PLATFORM

Blog banner

Modern operating system

Blog banner

The Role of cryptography in cyber security

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

Exploring Human Factors in Cyber Forensics Investigations.

Blog banner

Danger assessment in GIS

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

Linker

Blog banner

The art of being alone

Blog banner

Video games

Blog banner

Mutual exclusion

Blog banner

File management -disha parekh

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

How Men and Women Process Pain Differently

Blog banner

Virtual Memory

Blog banner

Direct Memory Access

Blog banner

Fault Tolerance

Blog banner

Health and fitness

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

Starvation

Blog banner

LiquidPlanner

Blog banner

Amazon

Blog banner

Memory management and virtual memory

Blog banner

Disk cache

Blog banner

City of Mumbai (Bombay):

Blog banner

Mumbai Metro 3

Blog banner

Europe Through My Lens

Blog banner

Quality check in IT services

Blog banner

SPAM

Blog banner

MOVEMBER

Blog banner

Beauty of indian railway

Blog banner

How social media affect

Blog banner

internet email and it's applications

Blog banner