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

10 Amazing facts about Tokyo Ghoul

Blog banner

Incident management in ITSM

Blog banner

Hacking of web server and application

Blog banner

Memory management

Blog banner

Data carving - using hex editor

Blog banner

IOT- Internet Of Things

Blog banner

Starvation

Blog banner

Culture Of Ladakh

Blog banner

Importance of modern technology era

Blog banner

Deadlock

Blog banner

Not anti-social, but pro-solitude

Blog banner

10 Survival Tips that might save your life

Blog banner

Teenagers of Today

Blog banner

Denial-of-Service and Distributed Denial-of-Service Attack Techniques

Blog banner

note taker app

Blog banner

I/O Buffering

Blog banner

Excel records

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

DNS Cache

Blog banner

Mumbai Metro 3

Blog banner

Bulk E-mail software

Blog banner

Policies for Service Transition

Blog banner

Understanding - Proof of Work!

Blog banner

Linux Virtual Machine Process Scheduling

Blog banner

I/O Buffering

Blog banner

Cache memory

Blog banner

Operation system

Blog banner

Kafka - A Framework

Blog banner

indian premier league

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

COMMUNICATION

Blog banner

virtual machine

Blog banner

The evolution of OS

Blog banner

(Input/Output) in os

Blog banner

Ethical Hacking

Blog banner

An Overivew Of Cache Memory

Blog banner

De-Coding Love

Blog banner

Social media

Blog banner

File Sharing

Blog banner

Wrike

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

What is Segmentation?

Blog banner