wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory Management Techniques

profile
Vedant Rana
Jul 04, 2024
0 Likes
0 Discussions
82 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

Memory Partitioning

Blog banner

Next time you click on "Remind me later", think twice!

Blog banner

How social media affect

Blog banner

Multicore and multithreading 171

Blog banner

10 Types of Friends in every friend group

Blog banner

ProofHub

Blog banner

INTERNET SECURITY

Blog banner

Starvation

Blog banner

Memory Management

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

Security Issues and Countermeasures

Blog banner

MD5 Collisions and the impact on computer forensics

Blog banner

Facebook marketing

Blog banner

OS assignment 3

Blog banner

Virtual memory

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

Service Strategy principles

Blog banner

Deadlock and Starvation

Blog banner

I/O Management and Disk Scheduling

Blog banner

Student Grade Calculator in LISP

Blog banner

All you need to know about Cassandra

Blog banner

Direct Memory Access

Blog banner

Deadlocks

Blog banner

Gamer life

Blog banner

OS Assignment 3 Deadlock

Blog banner

“Shot on iPhone” : A campaign by Apple that turned into a prodigy

Blog banner

Operating system

Blog banner

MAJOR ACHIEVEMENTS OF OS

Blog banner

Password Generator - Lisp

Blog banner

MENDELEY

Blog banner

How College Events Build Real-world Skills You Can’t Learn From Textbooks

Blog banner

Short note on expert system

Blog banner

Ethical Hacking

Blog banner

Data Science in Mental Health Prediction

Blog banner

Advantage of freedom

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

MQTT (MQ Telemetry Transport) in Data Science

Blog banner

Making Money through Instagram

Blog banner

Virtual memory

Blog banner

AI and Data Science: Revolutionizing Industries

Blog banner

CYBER FORENCIS: PAST, PRESENT AND FUTURE.

Blog banner

What is Segmentation?

Blog banner