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

LTE Technology

Blog banner

Travelling blog

Blog banner

Cache memory

Blog banner

Subnet Masking

Blog banner

Race Condition

Blog banner

From Procrastinator to Performer: How to Beat the Last-Minute Rush

Blog banner

Operating system and overviews

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

IT RISK

Blog banner

Blog name

Blog banner

Multiple-Processor Scheduling in Operating System

Blog banner

Data Visualization

Blog banner

Virtual Machine

Blog banner

Virtual Machine

Blog banner

Linux 94

Blog banner

Is Your Password Complex Enough?

Blog banner

OS Assignment 3 Deadlock

Blog banner

Introduction to Virtual Memory - 080

Blog banner

TRELLO

Blog banner

Deadlock

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Threads

Blog banner

Online Games

Blog banner

Logical and physical address

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Memory heirachy (Operating system)

Blog banner

Education: Key to your Prosperity

Blog banner

CRISP-DM Methodology

Blog banner

10 Things To Do On Valentine's Day If You're Single

Blog banner

Memory Management

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

DISK SCHEDULING

Blog banner

Be you

Blog banner

Creating Digitally Signed Document

Blog banner

Virtual Machine

Blog banner

Dal Bafla Recipe

Blog banner

The Importance of Data Quality Management in Data Science

Blog banner

Types Of scheduling

Blog banner

Depression

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

Esri India launches Policy Maps.

Blog banner