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

Life lesson

Blog banner

Blockchain technology: security risk and prevention

Blog banner

MEMORY MANAGEMENT

Blog banner

Raising mental health burden: A global and Indian perspective

Blog banner

Smartphone Security: Vulnerabilities and Attacks

Blog banner

MACHINE LEARNING

Blog banner

Data Lake

Blog banner

Modern Operating System

Blog banner

What is online marketing and why do you need to know about it ?

Blog banner

Benefits of Yoga

Blog banner

The Everyday Parenting Dilemma: Safety Vs Independence

Blog banner

How to Grow Your Brand on YouTube Without a Big Budget

Blog banner

The 60-Minute Window: What to Do (And What NOT to Do) When You Knock Out a Tooth

Blog banner

Linux

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

Global versus Indian Mental Health Differences

Blog banner

Assignment 2

Blog banner

Online Games

Blog banner

The Importance of Eating on Time: How Meal Timing Affects Your Health

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Review on Recovering Deleted Files

Blog banner

Security Issues and Countermeasures

Blog banner

Busted : Common Web Security Myths

Blog banner

Use case of K-means clustering

Blog banner

Deadlock

Blog banner

Virtual memory

Blog banner

Friendship

Blog banner

security controls

Blog banner

Evolution of Operating system.

Blog banner

Dangers of Using Public WiFis

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

undefined

Blog banner

Linux VServer Architecture

Blog banner

Electronic Funds Transfer

Blog banner

Esri India launches Policy Maps.

Blog banner

Why we fail after giving 100% ?

Blog banner

Decoding Modern Assessment: Why We Look Beyond the Grade Sheet

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Different Types of Data

Blog banner

Smartsheet

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

Inventory management software system

Blog banner