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

Tiranga - Abbas Haveliwala

Blog banner

Session Hijacking Techniques

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

Domain Name System

Blog banner

Electronic Funds Transfer

Blog banner

Disk Scheduling

Blog banner

Data Science & AI

Blog banner

Process State

Blog banner

Juveniles, Internet and Computer Crime

Blog banner

FASHION

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

american greatines

Blog banner

Operating Systems Overview

Blog banner

Uniprocessor and Types

Blog banner

Constrains in service design

Blog banner

E-mail security

Blog banner

FRIENDSHIP

Blog banner

Service Transition Process in ITSM

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

Odoo

Blog banner

Theads

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

Reconnaissance

Blog banner

Digital Marketing

Blog banner

HACKING MOBILE PLATFORM

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Threads

Blog banner

Cache memory

Blog banner

Understanding the 'Ambiverts'

Blog banner

Telegram and it's features

Blog banner

MAHAKAL LOK UJJAIN

Blog banner

Cache memory

Blog banner

Elements and Principles of Photography

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

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

Blog banner

INTRODUCTION TO C#

Blog banner

Raid

Blog banner

Types of Threads

Blog banner

Crypto tax evasion

Blog banner