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

Threat management

Blog banner

virtual memory

Blog banner

Craziness of dream 11 and how it impacts on our life

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

What is Minting & Mining

Blog banner

Cache Memory

Blog banner

Music

Blog banner

Process in OS

Blog banner

1.1 basic elements

Blog banner

Memory Management

Blog banner

social media issue

Blog banner

Privacy in Social Media and Online Services

Blog banner

Landslide Hazard

Blog banner

Deadlock

Blog banner

MOBILE DEVICE FORENSIC

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

MODERN OPERATING SYSTEM

Blog banner

BrainGate Technology

Blog banner

Health is Wealth

Blog banner

Mumbai Metro 3

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

Deadlock and starvation

Blog banner

EFT

Blog banner

OS Assignment 1

Blog banner

Love is in air.....

Blog banner

Session Hijacking Techniques

Blog banner

MODERN OPERATING SYSTEM

Blog banner

How to Manage Employees and Tasks in One System (Without Excel)

Blog banner

What is Amazon?

Blog banner

IP ADDRESS

Blog banner

Principles of Concurrency

Blog banner

KAHAWA TEA

Blog banner

Deadlock in operating system

Blog banner

Data Structures

Blog banner

Pro-Tips On How To Keep your Foot Healthy

Blog banner

Mental Health

Blog banner

Instagram

Blog banner

Types Of scheduling

Blog banner

SQL Injection

Blog banner

File and File System Structure

Blog banner

Digital marketing spotlight “Dove’s Real Beauty Campaign”

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner