wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

MEMORY MANAGEMENT (techniques)

profile
HET KARIA
Aug 14, 2024
0 Likes
0 Discussions
91 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

Protein and Energy: Why Your Workday Diet Needs More of It

Blog banner

Artificial Intelligence (AI)

Blog banner

Modern operating system

Blog banner

Data Warehouse Bus Matrix

Blog banner

Device driver

Blog banner

Excel records

Blog banner

A Day in the Life at Elzee: What Your Child Does Between Drop-Off and Pick-Up

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

GraphQL

Blog banner

SPAM

Blog banner

Kernel in Operating System

Blog banner

"Life as a Part-time Student"

Blog banner

Password Generator - Lisp

Blog banner

Little Habits, Big Impact: Daily Preschool Routines That Shape the Future

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

What is Brute Force Attack? How to defend against it?

Blog banner

How to Manage Business Invoices and Payments Easily?

Blog banner

Decoding Modern Assessment: Why We Look Beyond the Grade Sheet

Blog banner

Power of words

Blog banner

Virtual Memory

Blog banner

File Organization and Access

Blog banner

ADIDAS

Blog banner

Hypothesis Testing in Data Science

Blog banner

security controls

Blog banner

DURGA POOJA

Blog banner

Deadlock and starvation

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

Access management

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

GIS Bharat Maps

Blog banner

Proton mail

Blog banner

Assignment-3

Blog banner

Regression Analysis

Blog banner

Cache Memory(142)

Blog banner

E-commerce

Blog banner

Cyber Security in Data Breaching

Blog banner

Why Is Freshly Cooked Food Better Than Processed Food for Everyday Health?

Blog banner

Getting into anime My anime suggestions

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

Concurrency and Deadlocks

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

Footprinting

Blog banner