wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory managment

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

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

Blog banner

Life

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

Interrupts in operating system.

Blog banner

Types of Hackers

Blog banner

Deadlock and Starvation

Blog banner

Khau Galli – Vile Parle

Blog banner

INTERRUPTS

Blog banner

Yoga in INDIA and ABROAD

Blog banner

LISP - Library Management System

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

Celebrate Raksha Bandhan with Premium Dry Fruit Gift Hampers

Blog banner

Mobile Security

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

security requirements for safe e-payment

Blog banner

Raid and levels of raid.

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

Tableau

Blog banner

Vulnerability Assessment

Blog banner

Earth with no trees

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Memory management

Blog banner

Carrot Pickle With Raisins (lagan Nu Achar)

Blog banner

HUBSPOT

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

SPEM

Blog banner

The Importance of Data Quality Management in Data Science

Blog banner

5 Powerful Mindset Shifts To Make 2026 Your Breakthrough Year

Blog banner

Marvel Cinematic Universe

Blog banner

How Does Preschool Help Children Become Better Decision Makers?

Blog banner

Health and fitness

Blog banner

Trello ( management software)

Blog banner

Deadlock and Starvation

Blog banner

Instagram

Blog banner

What is online marketing and why do you need to know about it ?

Blog banner

EFT

Blog banner

World’s rarest passport owned by 500 people.

Blog banner

What is E-commerce

Blog banner

Sharing is Caring: Practical Ways to Teach Empathy and Cooperation to Toddlers

Blog banner