wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory Management Techniques

profile
Vedant Rana
Jul 04, 2024
0 Likes
0 Discussions
81 Reads

Memory Management Techniques: -

Process Isolation: 
Each running program gets its own section of memory. The OS must prevent independent processes from interfering with each other’s memory, both data and instructions.This prevents processes from interfering with each other.

Virtual Memory: 
Think of virtual memory as an imaginary extension of your computer’s actual RAM. When RAM is full, the OS moves some data to the hard drive. This allows bigger programs to run as if they have more memory than they really do.

Swapping: 
If there’s too much demand on memory, the OS can move entire processes from RAM to the hard drive to free up space. It’s like temporarily moving out of your apartment to let someone else use it for a bit.
There are two types of Memory Allocation Techniques:-
   A) Contiguous Allocation: 
   Memory is allocated in a single, continuous block. Simple and fast, but can waste space or memory as processes end and start.

   B)Non-Contiguous Allocation: 
   Memory is allocated in separate blocks scattered around, using various techniques like segmentation. More efficient use of space but more complex to manage.

Cache Management:
Uses small, fast memory caches to store frequently accessed data, speeding up the overall performance of the system. Imagine it as having a few frequently used Application pinned on your PC Tab bar instead of searching for them.

Protection and access control: 
Sharing of memory, at any level of the memory hierarchy, creates the potential for one program to address the memory space of another. This is desirable when sharing is needed by particular applications. At other times, it threatens the integrity of programs and even of the OS itself. The OS must allow portions of memory to be accessible in various ways by various users.

Summary: In essence, memory management in an operating system is about organizing and optimizing the use of memory to ensure that programs run efficiently and reliably. It involves allocating memory to processes, moving data between RAM and storage as needed, and protecting memory spaces to maintain system stability and security.


Comments ()


Sign in

Read Next

Booting Process In Operating System

Blog banner

Memory Management - operating system

Blog banner

Google App Engine

Blog banner

Multicore CPUs

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

Virtualisation

Blog banner

Why Kanye West (Now Ye) is the GOAT: A Legacy Beyond Music

Blog banner

5 Things I As A Dentist Would Never Do (And What You Can Learn From It)

Blog banner

Blog name

Blog banner

Threads

Blog banner

Deming’s Process

Blog banner

Service Design Model

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

PPT methodology

Blog banner

Vulnerability Assessment

Blog banner

Some web vulnerabilities

Blog banner

Top 10 Logos and their meanings

Blog banner

memory management

Blog banner

Cyber-crime Investigation and Future Directions

Blog banner

gis substation

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Transgender

Blog banner

How Do I Get Rid of My People-Pleasing Behaviour?

Blog banner

SMARTSHEET MANAGEMENT SOFTWARE

Blog banner

Deadlock in operating system

Blog banner

Mobile Transport Layer – Traditional TCP

Blog banner

How Running Changed My Life

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner

operating system

Blog banner

Mumbai

Blog banner

Decoding Confusion Matrix

Blog banner

Life lesson

Blog banner

Hacking of web server and application

Blog banner

Scheduling in Operating Systems

Blog banner

Tools to support CSI activities

Blog banner

Importance Of Yoga.

Blog banner

HOW A CENTRAL PROCESSING UNIT (CPU) WORKS?

Blog banner

Business Engineering

Blog banner