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

Firewall in Computer Network

Blog banner

Smart Homes | Zigbee Alliance

Blog banner

FRIENDSHIP

Blog banner

operating system

Blog banner

Evolution of Operating Sytems

Blog banner

E-learning in today's world

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

All you need to know about Website Traffic

Blog banner

File sharing

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

Product Discount Calculator

Blog banner

semaphores

Blog banner

Race Conditions

Blog banner

TRIGGERS IN DATABASE

Blog banner

c

Blog banner

Data carving - using hex editor

Blog banner

Ransomware

Blog banner

What is Network Security?

Blog banner

Fashion marketing in india

Blog banner

MODERN OPERATING SYSTEM

Blog banner

MD5 Collisions and the impact on computer forensics

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

10 Alien Encounters and Abduction Stories

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

EFT

Blog banner

Crypto tax evasion

Blog banner

Open Source Project By Google

Blog banner

The Rise of Polo Tourism in the USA: How Travellers Are Blending Luxury Stays with Elite Sports

Blog banner

Dr. Venkadavarahan

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

Types of Malware in Cyber Security

Blog banner

Deadlocks

Blog banner

Health and fitness

Blog banner

Blockchain

Blog banner

Virtual Memory

Blog banner

Virtual Memory

Blog banner

Geographic Information Systems(By aditi Unnikrishnan)

Blog banner

RAID

Blog banner

Disk Scheduling

Blog banner

Electronic Funds Transfer

Blog banner

Is Your Password Complex Enough?

Blog banner