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

Network Security Risks

Blog banner

Memory Management

Blog banner

Cyber Forensics on IOT Devices

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

Types of Threads

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Introduction to GIS

Blog banner

Drawing tips for a beginner

Blog banner

Incident management in ITSM

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

Memory management

Blog banner

Operating System

Blog banner

Direct memory access (DMA)

Blog banner

CSI and Organizational Change

Blog banner

This too shall pass

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Use case of K-means clustering

Blog banner

Cyber Security in Data Breaching

Blog banner

Threat management

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

Rapido

Blog banner

The Evolution of Operating Systems

Blog banner

What your Favorite colour says about You?

Blog banner

Travelling blog

Blog banner

Teenagers of Today

Blog banner

I/O Management and Disk Scheduling

Blog banner

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

Blog banner

IT security management

Blog banner

File system implementation

Blog banner

Virtual Memory

Blog banner

A-B-C of Networking: Part-3 (Topology [Ring, Tree, Mesh])

Blog banner

Mental Health

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

All you need to know about Website Traffic

Blog banner

Harsh Rathod

Blog banner

Improving the Accuracy of GPS and GNSS

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

Getting into anime My anime suggestions

Blog banner

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

Blog banner

Dal Bafla Recipe

Blog banner

GIS Applications: How Different Industries are Leveraging Geospatial Data

Blog banner