wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory managment

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

Cache Memory

Blog banner

The New Classic: Indo Western Patola Outfits for Today’s Woman

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

Riddhi Miyani 53003220140

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

To-Do List In LISP

Blog banner

Random Forests

Blog banner

The Benefits of Practical Life Activities in Preschool

Blog banner

VPN

Blog banner

SMARTSHEET MANAGEMENT SOFTWARE

Blog banner

How to Plan a Week of Healthy Meals Without Stress

Blog banner

Why we fail after giving 100% ?

Blog banner

Instagram

Blog banner

IP Address

Blog banner

Ethical Hacking

Blog banner

Ethical Issues in Data Science and Role of Data Science in Smart Cities

Blog banner

Article on IT development trends

Blog banner

SECURITY TOOLS

Blog banner

MOVEMBER

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

Network Forensics Tools and Techniques

Blog banner

Odoo

Blog banner

A Deep Dive

Blog banner

PERSONAL STORIES

Blog banner

Service Design Model

Blog banner

Deadlock and Starvation

Blog banner

Bit Coins

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner

A Complete Guide to Satvik Indian Powder Masalas and Their Everyday Uses

Blog banner

"Life as a Part-time Student"

Blog banner

OS Assignment 3 Deadlock

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

The Sunny Side of Instagram

Blog banner

?Your Guide to Great Flossing, by the best affordable dentist in Maroubra

Blog banner

operating system

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

Session Hijacking Techniques

Blog banner

Virtual Memory

Blog banner

Compromising Mobile Platforms

Blog banner

Global versus Indian Mental Health Differences

Blog banner

Incident management in ITSM

Blog banner