wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

MEMORY MANAGEMENT (techniques)

profile
HET KARIA
Aug 14, 2024
0 Likes
0 Discussions
89 Reads


Memory management in an operating system (OS) is the process of controlling and coordinating computer memory, including assigning portions called blocks to various running programs to optimize overall system performance. The primary objective is to ensure efficient and effective use of memory to support multiple applications running simultaneously without interference.

In a multiprogramming computer, the Operating System resides in a part of memory, and the rest is used by multiple processes. The task of subdividing the memory among different processes is called Memory Management. Memory management is a method in the operating system to manage operations between main memory and disk during process execution. The main aim of memory management is to achieve efficient utilization of memory.

Memory Management techniques:

Fixed Partitioning: Main memory is divided into a number of static partitions at system generation time. A process may be loaded into a partition of equal or greater size. Simple to implement; little operating system overhead. Inefficient use of memory due to internal fragmentation; maximum number of active processes is fixed.

strengths:

Simple to implement; little operating system overhead. Inefficient use of memory due to internal fragmentation; maximum number of active processes is fixed. 

weakness:Inefficient use of memory due to internal fragmentation; maximum number of active processes is fixed.


Dynamic Partitioning: Partitions are created dynamically, so that each process is loaded into a partition of exactly the same size as that process

Strenghts: No internal fragmentation; more efficient use of main memory

weakness: Inefficient use of processor due to the need for compaction to counter external fragmentation.

Simple Paging Main memory is divided into a number of equal-size frames. Each process is divided into a number of equal-size pages of the same length as frames. A process is loaded by loading all of its pages into available, not necessarily contiguous, frames.

strength

No external fragmentation

weakness:A small amount of internal fragmentation.



Comments ()


Sign in

Read Next

Service Validation and Testing during the Design Phase

Blog banner

Why Consistency in Eating Habits Matters and How Meal Maharaj Makes It Easy

Blog banner

Operating System

Blog banner

LTE Technology

Blog banner

A Short History of GIS

Blog banner

Diwali

Blog banner

Can a Water Flosser Replace Manual Flossing? Here’s What Dentists Say

Blog banner

BrainGate Technology

Blog banner

Principal of concurrency

Blog banner

Memory Management in Operating System

Blog banner

Virtualization

Blog banner

Multicore and Multithreading

Blog banner

Hot Mango Pickle (Methiyu)

Blog banner

Simple STEM Activities for Toddlers That Spark Curiosity

Blog banner

Types Of Interrupt

Blog banner

Memory input output management

Blog banner

Race Condition in Operating Theatre

Blog banner

DATA VAULT

Blog banner

Operating system and overviews

Blog banner

Music helps reduce stress

Blog banner

Virtual Memory

Blog banner

Smitten Kitchen Keepers

Blog banner

Travel Geek ‘The last $50k in Switzerland’

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Semaphores

Blog banner

How Preschool Annual Day Shapes Confidence, Emotions, and Growth

Blog banner

MIDDLE CLASS MELODIES!!

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

Types of Threads

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

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

Blog banner

Mental Health

Blog banner

Deadlock and Starvation

Blog banner

Security Breaches in Stock market trading

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Data Science & AI

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Why Data Privacy Is Changing Online Advertising

Blog banner

Deadlock

Blog banner

Veg Mix Pickle

Blog banner