wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory Management

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

Fun Christmas Activities For Toddlers & Kids

Blog banner

objectives and functions of operating system

Blog banner

Cloud Technology and its Implications for Entrepreneurship

Blog banner

Memory Management

Blog banner

Windows Operating System

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

Modern Operating System - Suren Kotian

Blog banner

GIS Mapping

Blog banner

I/O Buffering

Blog banner

Importance Of Blockchain

Blog banner

File system implementation

Blog banner

Defining youtubr

Blog banner

This is my first blog.

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

What is semaphore in operating system?

Blog banner

Business Intelligence v/s Big Data

Blog banner

From Freezer to Fryer in Minutes: Quick & Easy Evening Snacks for Unexpected Guests

Blog banner

Modern Operating System

Blog banner

Memory management and virtual memory

Blog banner

LISP - Library Management System

Blog banner

Virtual Memory

Blog banner

Virtual Machine

Blog banner

What are Tenders its various types

Blog banner

Ethical Issues in Data Science and Role of Data Science in Smart Cities

Blog banner

Music helps reduce stress

Blog banner

Virtual Memory

Blog banner

Veg Mix Pickle

Blog banner

Memory Management in Operating System

Blog banner

UniProcessor Scheduling

Blog banner

Service Design Principles

Blog banner

WomenEmpowerment

Blog banner

Evolution of Operating Systems

Blog banner

Improving the Accuracy of GPS and GNSS

Blog banner

Unlocking Success: Mastering Google Ads Strategies

Blog banner

Data Science in Mental Health Prediction

Blog banner

Healthy Indian Comfort Foods That Are Both Nutritious and Delicious

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Virtual Memory

Blog banner

About myself

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner