wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory Management

profile
Anam Maruf
Jul 04, 2024
0 Likes
2 Discussions
98 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

Ambiguous

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

Disk cache

Blog banner

Big Data Architecture

Blog banner

Social Media.

Blog banner

Kids Grieve Too

Blog banner

WAKE UP ITS FOOD o'CLOCK...!!!!!

Blog banner

The role of artificial intelligence in automating digital forensic analysis.

Blog banner

virtual machines and virtualization

Blog banner

What is Email? Uses of Emails

Blog banner

8 Reasons Why You Must Try Digital Marketing

Blog banner

Paginng In OS

Blog banner

Topic: Sessions in Operating system

Blog banner

Embedding a Youtube video on Wisemonkeys

Blog banner

The Five Steps of Data Science

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

Note on Process, Process creation and Process termination

Blog banner

Study on cyber and network forensic in computer security management

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

Multiprocessor scheduling

Blog banner

Autonomy Vehicles: Future Ki Gadiya

Blog banner

Some web vulnerabilities

Blog banner

virtual machine

Blog banner

Practical Implementation of Client Server model using TCP/IP.

Blog banner

Deadlock

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

How To Secure Operating Systems ?

Blog banner

internet email and it's applications

Blog banner

Os(Computer security threats)

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Memory Management

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

WomenEmpowerment

Blog banner

FREE VERSION OF G-MAIL

Blog banner

Vulnerabilities in OnePlus Devices

Blog banner

Security Issues and Countermeasures

Blog banner

Virtual Memory

Blog banner

Tools to support CSI activities

Blog banner

Types of Threads

Blog banner

Facebook marketing

Blog banner

Proof-of-Stake (PoS)

Blog banner