wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory Management

profile
Anam Maruf
Jul 04, 2024
0 Likes
2 Discussions
99 Reads

 

Memory management  helps to coordinate n control the computers main memory .

It ensures that  the memory space is properly managed and allocated in operating  system.

Memory managers enables sharing of memory space between processes. Hence  two programs can work  at the same memory location although at different times.

 

There are 3 types of memory management

Hardware memory management.

Operating system memory management.

 

Application memory management

Example :

If you have a computer of 8 gb of ram and want to run several programs then the memory management  helps to ensure that program have enough memory and cab run without interfering  with each other

Advantages:

It is a simple management approach

Disadvantages:

It does not support multiprogramming

 

In memory  management the memory unit supports two basic operations: read and write.

The read operation reads previously stored dat

The write operation stores a new value in memory. Both of these operations require a memory address. In addition, the write operation requires specification of the data to be written.

There are several types of computer memory such as random access memory (RAM), read-only memory (ROM), cache memory, virtual memory,

The main activities  of memory management  are

 

Thrashing

Memory protection

 Page replacement

Swapping

Demand pagging

Virtual memory

Segmentation

Paging

Memory  allocation

Etcc

Memoryy allocation has two typess 

They aree as follows:

Fixed Partitioning: Memory is divided into fixed-size partitions.

 

 Dynamic Partitioning: Memory is allocated to processes based on their needs

Page relapcement has following types:

FIFO (First-In-First-Out): Replaces the oldest page.

 

LRU (Least Recently Used): Replaces the page that has not been used for the longest time.

 

Optimal: Replaces the page that will not be used for the longest time in the future

Basic Functions of Memory Management

Tracking each byte of memory in the system.

 

Allocating and deallocating memory spaces as needed by the system's processes.

 

Managing swap spaces, which store inactive pages of memory.

 

Implementing policies for memory allocation.

Anam Maruf 

Div-A 

53003230032

 


Comments ()


Sign in

Read Next

Dekkers Algorithm

Blog banner

Linux Virtual Machine Process Scheduling

Blog banner

CSI and Organizational Change

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Fitness

Blog banner

“Shot on iPhone” : A campaign by Apple that turned into a prodigy

Blog banner

Loneliness

Blog banner

Process State

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

E-mail security

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

Modern Operating System

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Memory Management in Operating System

Blog banner

LinkedIn

Blog banner

Starvation and Deadlock.

Blog banner

10 Signs your Computer has Virus

Blog banner

LIMITED EDITION

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

Indian Culture and Tradition

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

BUFFER OVERFLOW_142

Blog banner

Mail merge

Blog banner

Bit Coins

Blog banner

Data Visualization

Blog banner

WINDOWS I/ O

Blog banner

Predictive Analysis - Ek Overview

Blog banner

GOOGLE

Blog banner

Importance of education

Blog banner

Online Education

Blog banner

INTERNET

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

Virtual memory

Blog banner

Cache Memory(142)

Blog banner

Denial-of-Service and Distributed Denial-of-Service Attack Techniques

Blog banner

Cache memory

Blog banner

Revolutionary AI Tool: ChatGPT

Blog banner

Virtual memory in windows

Blog banner

Pro-Tips On How To Keep your Foot Healthy

Blog banner

Cache Memory

Blog banner

Spitting Pink in the Sink: Why Your Gums Randomly Bleed

Blog banner